1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
|
/*
* include/krb5/los-proto.h
*
* Copyright 1990,1991 by the Massachusetts Institute of Technology.
* All Rights Reserved.
*
* Export of this software from the United States of America may
* require a specific license from the United States Government.
* It is the responsibility of any person or organization contemplating
* export to obtain such a license before exporting.
*
* WITHIN THAT CONSTRAINT, permission to use, copy, modify, and
* distribute this software and its documentation for any purpose and
* without fee is hereby granted, provided that the above copyright
* notice appear in all copies and that both that copyright notice and
* this permission notice appear in supporting documentation, and that
* the name of M.I.T. not be used in advertising or publicity pertaining
* to distribution of the software without specific, written prior
* permission. M.I.T. makes no representations about the suitability of
* this software for any purpose. It is provided "as is" without express
* or implied warranty.
*
*
* Function prototypes for Kerberos V5 library (libos)
*/
#ifndef KRB5_LIBOS_PROTO__
#define KRB5_LIBOS_PROTO__
#include <stdio.h>
krb5_error_code krb5_init_os_context
PROTOTYPE((krb5_context));
void krb5_free_os_context
PROTOTYPE((krb5_context));
/* libos.spec */
krb5_error_code krb5_read_password
PROTOTYPE((krb5_context,
char *,
char *,
char *,
int * ));
krb5_error_code krb5_lock_file
PROTOTYPE((krb5_context,
FILE *,
char *,
int ));
krb5_error_code krb5_unlock_file
PROTOTYPE((krb5_context,
FILE *,
char * ));
int krb5_net_read
PROTOTYPE((krb5_context,
int ,
char *,
int ));
int krb5_net_write
PROTOTYPE((krb5_context,
int ,
const char *,
int ));
krb5_error_code krb5_sendto_kdc
PROTOTYPE((krb5_context,
const krb5_data *,
const krb5_data *,
krb5_data * ));
krb5_error_code krb5_get_krbhst
PROTOTYPE((krb5_context,
const krb5_data *,
char *** ));
krb5_error_code krb5_free_krbhst
PROTOTYPE((krb5_context,
char * const * ));
krb5_error_code krb5_aname_to_localname
PROTOTYPE((krb5_context,
krb5_const_principal,
const int,
char * ));
krb5_error_code krb5_get_host_realm
PROTOTYPE((krb5_context,
const char *,
char *** ));
krb5_error_code krb5_free_host_realm
PROTOTYPE((krb5_context,
char * const * ));
krb5_error_code krb5_get_realm_domain
PROTOTYPE((krb5_context,
const char *,
char ** ));
krb5_boolean krb5_kuserok
PROTOTYPE((krb5_context,
krb5_principal, const char *));
krb5_error_code krb5_random_confounder
PROTOTYPE((int,
krb5_pointer ));
krb5_error_code krb5_gen_replay_name
PROTOTYPE((krb5_context,
const krb5_address *,
const char *,
char **));
krb5_error_code krb5_gen_portaddr
PROTOTYPE((krb5_context,
const krb5_address *,
krb5_const_pointer,
krb5_address **));
krb5_error_code krb5_create_secure_file
PROTOTYPE((krb5_context,
const char * pathname));
krb5_error_code krb5_sync_disk_file
PROTOTYPE((krb5_context,
FILE *fp));
krb5_error_code krb5_read_message
PROTOTYPE((krb5_context,
krb5_pointer,
krb5_data *));
krb5_error_code krb5_write_message
PROTOTYPE((krb5_context,
krb5_pointer,
krb5_data *));
krb5_error_code krb5_os_init_context
PROTOTYPE((krb5_context));
void krb5_os_free_context
PROTOTYPE((krb5_context));
krb5_error_code krb5_find_config_files
PROTOTYPE(());
#endif /* KRB5_LIBOS_PROTO__ */
|