summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKeith Vetter <keithv@fusion.com>1995-03-02 01:45:56 +0000
committerKeith Vetter <keithv@fusion.com>1995-03-02 01:45:56 +0000
commit2863ef032c656950b9872ec3bc006eb2bcffafa9 (patch)
treeb402e8ea9ff76675fcfc34be0e6ccb7c8f1e40e5 /src/include
parenteb5ae2b47322a30fe3e225ed0a50c1818fdf03d1 (diff)
downloadkrb5-2863ef032c656950b9872ec3bc006eb2bcffafa9.tar.gz
krb5-2863ef032c656950b9872ec3bc006eb2bcffafa9.tar.xz
krb5-2863ef032c656950b9872ec3bc006eb2bcffafa9.zip
Prototype changes for the krb5/os functions needed on the PC
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5055 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include')
-rw-r--r--src/include/krb5/ChangeLog7
-rw-r--r--src/include/krb5/func-proto.h9
-rw-r--r--src/include/krb5/los-proto.h66
3 files changed, 52 insertions, 30 deletions
diff --git a/src/include/krb5/ChangeLog b/src/include/krb5/ChangeLog
index 0062e9dcb4..c96c35b113 100644
--- a/src/include/krb5/ChangeLog
+++ b/src/include/krb5/ChangeLog
@@ -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
diff --git a/src/include/krb5/func-proto.h b/src/include/krb5/func-proto.h
index 038b458a30..eb1f0863f2 100644
--- a/src/include/krb5/func-proto.h
+++ b/src/include/krb5/func-proto.h
@@ -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__ */
diff --git a/src/include/krb5/los-proto.h b/src/include/krb5/los-proto.h
index aec2ef0eae..4a2ecade1b 100644
--- a/src/include/krb5/los-proto.h
+++ b/src/include/krb5/los-proto.h
@@ -29,116 +29,122 @@
#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__ */