fix up types on encode_generic, decode_generic, translator_func
authorJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 15:35:12 +0000 (15:35 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Mon, 22 Oct 1990 15:35:12 +0000 (15:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1306 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/asn.1/encode.h

index dc1985d536deaed6f61e30a29fa47274c7983773..f793e05f7a7dc28b280c3a8b2ece0c97c0012d9b 100644 (file)
 
 typedef        int (*encoder_func) PROTOTYPE((PE *, int, int, char *, krb5_pointer));
 typedef void (*free_func) PROTOTYPE((krb5_pointer ));
-typedef krb5_pointer (*translator_func) PROTOTYPE((krb5_pointer, int * ));
+typedef krb5_pointer (*translator_func) PROTOTYPE((krb5_const_pointer, int * ));
 typedef int (*decoder_func) PROTOTYPE((PE, int, int, char *, krb5_pointer));
 
 /* encode.c */
 krb5_error_code krb5_encode_generic
     PROTOTYPE((krb5_const_pointer,
               krb5_data **,
-              int (* )PROTOTYPE ((PE *,int,int,char *,krb5_pointer )),
-              krb5_pointer (* )PROTOTYPE ((krb5_const_pointer,int *)),
-              void (* )PROTOTYPE ((krb5_pointer ))));
+              encoder_func,
+              translator_func,
+              free_func));
 krb5_error_code krb5_decode_generic
        PROTOTYPE((const krb5_data *,
                   krb5_pointer *,
-                  int (* )PROTOTYPE ((PE,int,int,char *,krb5_pointer )),
-                  krb5_pointer (* )PROTOTYPE ((krb5_pointer,int *)),
-                  void (* )PROTOTYPE ((krb5_pointer ))));
+                  decoder_func,
+                  translator_func,
+                  free_func));
 
 /* decode_arp.c */
 krb5_error_code decode_krb5_as_rep