Prototype changes for the krb5/os functions needed on the PC
authorKeith Vetter <keithv@fusion.com>
Thu, 2 Mar 1995 01:45:56 +0000 (01:45 +0000)
committerKeith Vetter <keithv@fusion.com>
Thu, 2 Mar 1995 01:45:56 +0000 (01:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5055 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/ChangeLog
src/include/krb5/func-proto.h
src/include/krb5/los-proto.h

index 0062e9dcb42bf431e0167b6466b3851e29f38e7c..c96c35b1136674b5124dd3d9604783f36b439775 100644 (file)
@@ -1,3 +1,10 @@
+Wed Mar 1 17:40:00 1995 Keith Vetter (keithv@fusion.com)
+
+       * func-proto.h: added missing prototype for krb5_mk_cred.
+       * los-proto.h: added windows INTERFACE keyword to all functions,
+          plus added 2 missing prototypes: krb5_os_init_context and
+          krb5_os_free_context.
+
 Wed Mar 1 12:48:20 1995 Keith Vetter (keithv@fusion.com)
 
        * config.h: added defines to pull in winsock.h as needed
index 038b458a300ca02d6c01040f853a69b4b1f11c5c..eb1f0863f2b6d48322df899a079cedf5fea2d866 100644 (file)
@@ -607,6 +607,15 @@ krb5_error_code INTERFACE krb5_walk_realm_tree
               krb5_principal **,
               int));
 
+krb5_error_code INTERFACE krb5_mk_cred
+       PROTOTYPE((krb5_context,
+                   krb5_kdc_rep *,
+                   krb5_enctype,
+                   krb5_keyblock *,
+                   krb5_address *,
+                   krb5_address *,
+                   krb5_data *));
+
 #define KRB5_REALM_BRANCH_CHAR '.'
 
 #endif /* KRB5_FUNC_PROTO__ */
index aec2ef0eaedc436aada0861d1eee2a2e0046d12e..4a2ecade1ba9147e6c5a72263a48c48ad37ca1b0 100644 (file)
 
 #include <stdio.h>
 
-krb5_error_code krb5_init_os_context
+krb5_error_code INTERFACE krb5_init_os_context
        PROTOTYPE((krb5_context));
-void krb5_free_os_context
+void INTERFACE krb5_free_os_context
        PROTOTYPE((krb5_context));
 
 /* libos.spec */
-krb5_error_code krb5_read_password
+krb5_error_code INTERFACE krb5_read_password
        PROTOTYPE((krb5_context,
                   char *,
                   char *,
                   char *,
                   int * ));
-krb5_error_code krb5_lock_file
+krb5_error_code INTERFACE krb5_lock_file
        PROTOTYPE((krb5_context,
                   FILE *,
                   char *,
                   int  ));
-krb5_error_code krb5_unlock_file
+krb5_error_code INTERFACE krb5_unlock_file
        PROTOTYPE((krb5_context,
                   FILE *,
                   char * ));
-krb5_error_code krb5_timeofday
+krb5_error_code INTERFACE krb5_timeofday
        PROTOTYPE((krb5_context,
                   krb5_int32 * ));
-krb5_error_code krb5_us_timeofday
+krb5_error_code INTERFACE krb5_us_timeofday
        PROTOTYPE((krb5_context,
                   krb5_int32 *,
                   krb5_int32 * ));
-int krb5_net_read
+int INTERFACE krb5_net_read
        PROTOTYPE((krb5_context,
                   int ,
                   char *,
                   int  ));
-int krb5_net_write
+int INTERFACE krb5_net_write
        PROTOTYPE((krb5_context,
                   int ,
                   const char *,
                   int  ));
                 /* get all the addresses of this host */
-krb5_error_code krb5_os_localaddr
+krb5_error_code INTERFACE krb5_os_localaddr
        PROTOTYPE((krb5_address ***));
-krb5_error_code krb5_sendto_kdc
+krb5_error_code INTERFACE krb5_sendto_kdc
        PROTOTYPE((krb5_context,
                   const krb5_data *,
                   const krb5_data *,
                   krb5_data * ));
-krb5_error_code krb5_get_krbhst
+krb5_error_code INTERFACE krb5_get_krbhst
        PROTOTYPE((krb5_context,
                   const krb5_data *,
                   char *** ));
-krb5_error_code krb5_free_krbhst
+krb5_error_code INTERFACE krb5_free_krbhst
        PROTOTYPE((krb5_context,
                   char * const * ));
-krb5_error_code krb5_aname_to_localname
+krb5_error_code INTERFACE krb5_aname_to_localname
        PROTOTYPE((krb5_context,
                   krb5_const_principal,
                   const int,
                   char * ));
-krb5_error_code krb5_get_default_realm
+krb5_error_code INTERFACE krb5_get_default_realm
        PROTOTYPE((krb5_context,
                    char ** ));
-krb5_error_code krb5_get_host_realm
+krb5_error_code INTERFACE krb5_get_host_realm
        PROTOTYPE((krb5_context,
                   const char *,
                   char *** ));
-krb5_error_code krb5_free_host_realm
+krb5_error_code INTERFACE krb5_free_host_realm
        PROTOTYPE((krb5_context,
                   char * const * ));
-krb5_error_code krb5_get_realm_domain
+krb5_error_code INTERFACE krb5_get_realm_domain
        PROTOTYPE((krb5_context,
                   const char *,
                   char ** ));
-krb5_boolean krb5_kuserok
+krb5_boolean INTERFACE krb5_kuserok
        PROTOTYPE((krb5_context,
                   krb5_principal, const char *));
 krb5_error_code INTERFACE krb5_random_confounder
        PROTOTYPE((int,
                   krb5_pointer ));
-krb5_error_code krb5_gen_replay_name
+krb5_error_code INTERFACE krb5_gen_replay_name
     PROTOTYPE((krb5_context,
                   const krb5_address *,
               const char *,
               char **));
-krb5_error_code krb5_gen_portaddr
+krb5_error_code INTERFACE krb5_gen_portaddr
     PROTOTYPE((krb5_context,
                   const krb5_address *,
               krb5_const_pointer,
               krb5_address **));
-krb5_error_code krb5_create_secure_file
+krb5_error_code INTERFACE krb5_create_secure_file
        PROTOTYPE((krb5_context,
                   const char * pathname));
-krb5_error_code krb5_sync_disk_file
+krb5_error_code INTERFACE krb5_sync_disk_file
        PROTOTYPE((krb5_context,
                   FILE *fp));
 
 
-krb5_error_code krb5_read_message 
+krb5_error_code INTERFACE krb5_read_message 
        PROTOTYPE((krb5_context,
                   krb5_pointer, 
                   krb5_data *));
-krb5_error_code krb5_write_message 
+krb5_error_code INTERFACE krb5_write_message 
        PROTOTYPE((krb5_context,
                   krb5_pointer, 
                   krb5_data *));
 
-krb5_error_code krb5_sname_to_principal
-    PROTOTYPE((krb5_context,
+krb5_error_code INTERFACE krb5_sname_to_principal
+        PROTOTYPE((krb5_context,
                   const char *,
-              const char *,
-              krb5_int32,
-              krb5_principal *));
+                   const char *,
+                   krb5_int32,
+                   krb5_principal *));
+
+krb5_error_code INTERFACE krb5_os_init_context
+        PROTOTYPE((krb5_context));
+
+void INTERFACE krb5_os_free_context
+        PROTOTYPE((krb5_context));
 
 #endif /* KRB5_LIBOS_PROTO__ */