fix const for **'s
authorJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:02:50 +0000 (11:02 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 19 Apr 1990 11:02:50 +0000 (11:02 +0000)
keytype is now const
send_tgs's creds is NOT const.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@503 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/func-proto.h

index 6df61dfbd146feac9e6a5da8c89a4f605aa78531..54eb565d5ffc772f4ac55f79696cd17383b9bb92 100644 (file)
@@ -51,10 +51,10 @@ krb5_error_code krb5_send_tgs
                   const krb5_enctype,
                   const krb5_cksumtype,
                   const krb5_principal,
-                  const krb5_address **,
-                  const krb5_authdata **,
+                  krb5_address * const *,
+                  krb5_authdata * const *,
                   const krb5_data *,
-                  const krb5_creds *,
+                  krb5_creds *,
                   krb5_response * ));
 krb5_error_code krb5_get_cred_from_kdc
        PROTOTYPE((krb5_ccache,         /* not const, as reading may save
@@ -69,10 +69,10 @@ krb5_error_code krb5_get_credentials
                   krb5_creds * ));
 krb5_error_code krb5_get_in_tkt
        PROTOTYPE((const krb5_flags,
-                  const krb5_address **,
+                  krb5_address * const *,
                   const krb5_enctype,
                   const krb5_keytype,
-                  krb5_error_code (* )(krb5_keytype,
+                  krb5_error_code (* )(const krb5_keytype,
                                        krb5_keyblock **,
                                        krb5_pointer ),
                   const krb5_pointer,
@@ -84,7 +84,7 @@ krb5_error_code krb5_get_in_tkt
                   krb5_ccache ));
 krb5_error_code krb5_get_in_tkt_with_password
        PROTOTYPE((const krb5_flags,
-                  const krb5_address **,
+                  krb5_address * const *,
                   const krb5_enctype,
                   const krb5_keytype,
                   const char *,
@@ -92,7 +92,7 @@ krb5_error_code krb5_get_in_tkt_with_password
                   krb5_creds * ));
 krb5_error_code krb5_get_in_tkt_with_skey
        PROTOTYPE((const krb5_flags,
-                  const krb5_address **,
+                  krb5_address * const *,
                   const krb5_enctype,
                   const krb5_keyblock *,
                   krb5_ccache,
@@ -174,7 +174,7 @@ krb5_error_code krb5_get_host_realm
        PROTOTYPE((const char *,
                   char *** ));
 krb5_error_code krb5_free_host_realm
-       PROTOTYPE((const char ** ));
+       PROTOTYPE((char * const * ));
 krb5_error_code krb5_parse_name
        PROTOTYPE((const char *,
                   krb5_principal * ));
@@ -183,7 +183,7 @@ krb5_error_code krb5_unparse_name
                   char ** ));
 krb5_boolean krb5_address_search
        PROTOTYPE((const krb5_address *,
-                  const krb5_address **));
+                  krb5_address * const *));
 krb5_boolean krb5_address_compare
        PROTOTYPE((const krb5_address *,
                   const krb5_address *));