summaryrefslogtreecommitdiffstats
path: root/usr.bin/telnet/krb4-proto.h
blob: 75f6d4122e94152d68f4e55dda87dbbe2aeab737 (plain)
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
#ifdef __STDC__
# define	P(s) s
#else
# define P(s) ()
#endif

/* add_ticket.c */
int add_ticket P((KTEXT , int , char *, int , char *, char *, char *, int , KTEXT ));

/* cr_err_reply.c */
void cr_err_reply P((KTEXT , char *, char *, char *, u_long , u_long , char *));

/* create_auth_reply.c */
KTEXT create_auth_reply P((char *, char *, char *, long , int , unsigned long , int , KTEXT ));

/* create_ciph.c */
int create_ciph P((KTEXT , C_Block , char *, char *, char *, unsigned long , int , KTEXT , unsigned long , C_Block ));

/* create_death_packet.c */
KTEXT krb_create_death_packet P((char *));

/* create_ticket.c */
int krb_create_ticket P((KTEXT , unsigned int , char *, char *, char *, long , char *, int , long , char *, char *, C_Block ));

/* debug_decl.c */

/* decomp_ticket.c */
int decomp_ticket P((KTEXT , unsigned char *, char *, char *, char *, unsigned long *, C_Block , int *, unsigned long *, char *, char *, C_Block , Key_schedule ));

/* dest_tkt.c */
int dest_tkt P((void ));

/* extract_ticket.c */
int extract_ticket P((KTEXT , int , char *, int *, int *, char *, KTEXT ));

/* fgetst.c */
int fgetst P((FILE *, char *, int ));

/* get_ad_tkt.c */
int get_ad_tkt P((char *, char *, char *, int ));

/* get_admhst.c */
int krb_get_admhst P((char *, char *, int ));

/* get_cred.c */
int krb_get_cred P((char *, char *, char *, CREDENTIALS *));

/* get_in_tkt.c */
int krb_get_pw_in_tkt P((char *, char *, char *, char *, char *, int , char *));
int placebo_read_password P((des_cblock *, char *, int ));
int placebo_read_pw_string P((char *, int , char *, int ));

/* get_krbhst.c */
int krb_get_krbhst P((char *, char *, int ));

/* get_krbrlm.c */
int krb_get_lrealm P((char *, int ));

/* get_phost.c */
char *krb_get_phost P((char *));

/* get_pw_tkt.c */
int get_pw_tkt P((char *, char *, char *, char *));

/* get_request.c */
int get_request P((KTEXT , int , char **, char **));

/* get_svc_in_tkt.c */
int krb_get_svc_in_tkt P((char *, char *, char *, char *, char *, int , char *));

/* get_tf_fullname.c */
int krb_get_tf_fullname P((char *, char *, char *, char *));

/* get_tf_realm.c */
int krb_get_tf_realm P((char *, char *));

/* getopt.c */
int getopt P((int , char **, char *));

/* getrealm.c */
char *krb_realmofhost P((char *));

/* getst.c */
int getst P((int , char *, int ));

/* in_tkt.c */
int in_tkt P((char *, char *));

/* k_gethostname.c */
int k_gethostname P((char *, int ));

/* klog.c */
char *klog P((int , char *, int , int , int , int , int , int , int , int , int , int ));
int kset_logfile P((char *));

/* kname_parse.c */
int kname_parse P((char *, char *, char *, char *));
int k_isname P((char *));
int k_isinst P((char *));
int k_isrealm P((char *));

/* kntoln.c */
int krb_kntoln P((AUTH_DAT *, char *));

/* krb_err_txt.c */

/* krb_get_in_tkt.c */
int krb_get_in_tkt P((char *, char *, char *, char *, char *, int , int (*key_proc )(), int (*decrypt_proc )(), char *));

/* kuserok.c */
int kuserok P((AUTH_DAT *, char *));

/* log.c */
void log P((char *, int , int , int , int , int , int , int , int , int , int ));
int set_logfile P((char *));
int new_log P((long , char *));

/* mk_err.c */
long krb_mk_err P((u_char *, long , char *));

/* mk_priv.c */
long krb_mk_priv P((u_char *, u_char *, u_long , Key_schedule , C_Block , struct sockaddr_in *, struct sockaddr_in *));

/* mk_req.c */
int krb_mk_req P((KTEXT , char *, char *, char *, long ));
int krb_set_lifetime P((int ));

/* mk_safe.c */
long krb_mk_safe P((u_char *, u_char *, u_long , C_Block *, struct sockaddr_in *, struct sockaddr_in *));

/* month_sname.c */
char *month_sname P((int ));

/* netread.c */
int krb_net_read P((int , char *, int ));

/* netwrite.c */
int krb_net_write P((int , char *, int ));

/* one.c */

/* pkt_cipher.c */
KTEXT pkt_cipher P((KTEXT ));

/* pkt_clen.c */
int pkt_clen P((KTEXT ));

/* rd_err.c */
int krb_rd_err P((u_char *, u_long , long *, MSG_DAT *));

/* rd_priv.c */
long krb_rd_priv P((u_char *, u_long , Key_schedule , C_Block , struct sockaddr_in *, struct sockaddr_in *, MSG_DAT *));

/* rd_req.c */
int krb_set_key P((char *, int ));
int krb_rd_req P((KTEXT , char *, char *, long , AUTH_DAT *, char *));

/* rd_safe.c */
long krb_rd_safe P((u_char *, u_long , C_Block *, struct sockaddr_in *, struct sockaddr_in *, MSG_DAT *));

/* read_service_key.c */
int read_service_key P((char *, char *, char *, int , char *, char *));

/* recvauth.c */
int krb_recvauth P((long , int , KTEXT , char *, char *, struct sockaddr_in *, struct sockaddr_in *, AUTH_DAT *, char *, Key_schedule , char *));

/* save_credentials.c */
int save_credentials P((char *, char *, char *, C_Block , int , int , KTEXT , long ));

/* send_to_kdc.c */
int send_to_kdc P((KTEXT , KTEXT , char *));

/* sendauth.c */
int krb_sendauth P((long , int , KTEXT , char *, char *, char *, u_long , MSG_DAT *, CREDENTIALS *, Key_schedule , struct sockaddr_in *, struct sockaddr_in *, char *));
int krb_sendsvc P((int , char *));

/* setenv.c */
int setenv P((char *, char *, int ));
void unsetenv P((char *));
char *getenv P((char *));
char *_findenv P((char *, int *));

/* stime.c */
char *stime P((long *));

/* tf_shm.c */
int krb_shm_create P((char *));
int krb_is_diskless P((void ));
int krb_shm_dest P((char *));

/* tf_util.c */
int tf_init P((char *, int ));
int tf_get_pname P((char *));
int tf_get_pinst P((char *));
int tf_get_cred P((CREDENTIALS *));
int tf_close P((void ));
int tf_save_cred P((char *, char *, char *, C_Block , int , int , KTEXT , long ));

/* tkt_string.c */
char *tkt_string P((void ));
void krb_set_tkt_string P((char *));

/* util.c */
int ad_print P((AUTH_DAT *));
int placebo_cblock_print P((des_cblock ));

#undef P
OpenPOWER on IntegriCloud