2 * include/krb5/los-proto.h
4 * Copyright 1990,1991 by the Massachusetts Institute of Technology.
7 * Export of this software from the United States of America may
8 * require a specific license from the United States Government.
9 * It is the responsibility of any person or organization contemplating
10 * export to obtain such a license before exporting.
12 * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
13 * distribute this software and its documentation for any purpose and
14 * without fee is hereby granted, provided that the above copyright
15 * notice appear in all copies and that both that copyright notice and
16 * this permission notice appear in supporting documentation, and that
17 * the name of M.I.T. not be used in advertising or publicity pertaining
18 * to distribution of the software without specific, written prior
19 * permission. M.I.T. makes no representations about the suitability of
20 * this software for any purpose. It is provided "as is" without express
21 * or implied warranty.
24 * Function prototypes for Kerberos V5 library (libos)
27 #ifndef KRB5_LIBOS_PROTO__
28 #define KRB5_LIBOS_PROTO__
32 krb5_error_code INTERFACE krb5_init_os_context
33 PROTOTYPE((krb5_context));
34 void INTERFACE krb5_free_os_context
35 PROTOTYPE((krb5_context));
38 krb5_error_code INTERFACE krb5_read_password
39 PROTOTYPE((krb5_context,
44 krb5_error_code INTERFACE krb5_lock_file
45 PROTOTYPE((krb5_context,
49 krb5_error_code INTERFACE krb5_unlock_file
50 PROTOTYPE((krb5_context,
53 int INTERFACE krb5_net_read
54 PROTOTYPE((krb5_context,
58 int INTERFACE krb5_net_write
59 PROTOTYPE((krb5_context,
63 krb5_error_code INTERFACE krb5_sendto_kdc
64 PROTOTYPE((krb5_context,
68 krb5_error_code INTERFACE krb5_get_krbhst
69 PROTOTYPE((krb5_context,
72 krb5_error_code INTERFACE krb5_free_krbhst
73 PROTOTYPE((krb5_context,
75 krb5_error_code INTERFACE krb5_aname_to_localname
76 PROTOTYPE((krb5_context,
80 krb5_error_code INTERFACE krb5_get_host_realm
81 PROTOTYPE((krb5_context,
84 krb5_error_code INTERFACE krb5_free_host_realm
85 PROTOTYPE((krb5_context,
87 krb5_error_code INTERFACE krb5_get_realm_domain
88 PROTOTYPE((krb5_context,
91 krb5_boolean INTERFACE krb5_kuserok
92 PROTOTYPE((krb5_context,
93 krb5_principal, const char *));
94 krb5_error_code INTERFACE krb5_random_confounder
97 krb5_error_code INTERFACE krb5_gen_replay_name
98 PROTOTYPE((krb5_context,
102 krb5_error_code INTERFACE krb5_gen_portaddr
103 PROTOTYPE((krb5_context,
104 const krb5_address *,
107 krb5_error_code INTERFACE krb5_create_secure_file
108 PROTOTYPE((krb5_context,
109 const char * pathname));
110 krb5_error_code INTERFACE krb5_sync_disk_file
111 PROTOTYPE((krb5_context,
115 krb5_error_code INTERFACE krb5_read_message
116 PROTOTYPE((krb5_context,
119 krb5_error_code INTERFACE krb5_write_message
120 PROTOTYPE((krb5_context,
124 krb5_error_code INTERFACE krb5_os_init_context
125 PROTOTYPE((krb5_context));
127 void INTERFACE krb5_os_free_context
128 PROTOTYPE((krb5_context));
130 krb5_error_code krb5_find_config_files
133 #endif /* KRB5_LIBOS_PROTO__ */