summaryrefslogtreecommitdiffstats
path: root/src/include/krb5/asn.1/asn1defs.h
blob: 55a7f7bee6b79d49289b21e86f448dfbe9964f62 (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
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
/*
 * $Source$
 * $Author$
 * $Id$
 *
 * Copyright 1990 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 asn1 glue routines.
 */


#ifndef KRB5_ASN1DEFS__
#define KRB5_ASN1DEFS__



/* adat2kadat.c */
krb5_authdata **KRB5_AuthorizationData2krb5_authdata
	PROTOTYPE((const struct type_KRB5_AuthorizationData *, int *));

/* addr2kaddr.c */
krb5_address **KRB5_HostAddresses2krb5_address
	PROTOTYPE((const struct type_KRB5_HostAddresses *, int *));

/* adr2kadr.c */
krb5_address *KRB5_HostAddress2krb5_addr
	PROTOTYPE((const struct type_KRB5_HostAddress *, int *));

/* aprp2kaprp.c */
krb5_ap_rep *KRB5_AP__REP2krb5_ap_rep
	PROTOTYPE((const struct type_KRB5_AP__REP *, int *));

/* aprq2kaprq.c */
krb5_ap_req *KRB5_AP__REQ2krb5_ap_req
	PROTOTYPE((const struct type_KRB5_AP__REQ *, int *));

/* arep2karep.c */
krb5_ap_rep_enc_part *KRB5_EncAPRepPart2krb5_ap_rep_enc_part
	PROTOTYPE((const struct type_KRB5_EncAPRepPart *, int *));

/* auth2kauth.c */
krb5_authenticator *KRB5_Authenticator2krb5_authenticator
	PROTOTYPE((const struct type_KRB5_Authenticator *, int *));

/* ck2kck.c */
krb5_checksum *KRB5_Checksum2krb5_checksum
	PROTOTYPE((const struct type_KRB5_Checksum *, int *));

/* edat2kedat.c */
krb5_enc_data *KRB5_EncryptedData2krb5_enc_data
	PROTOTYPE((const struct type_KRB5_EncryptedData *, int *));

/* ekrp2kekrp.c */
krb5_enc_kdc_rep_part *KRB5_EncKDCRepPart2krb5_enc_kdc_rep_part
	PROTOTYPE((const struct type_KRB5_EncKDCRepPart *, int *));

/* enck2kkey.c */
krb5_keyblock *KRB5_EncryptionKey2krb5_keyblock
	PROTOTYPE((const struct type_KRB5_EncryptionKey *, int *));

/* err2kerr.c */
krb5_error *KRB5_KRB__ERROR2krb5_error
	PROTOTYPE((const struct type_KRB5_KRB__ERROR *, int *));

/* etpt2ketpt.c */
krb5_enc_tkt_part *KRB5_EncTicketPart2krb5_enc_tkt_part
	PROTOTYPE((const struct type_KRB5_EncTicketPart *, int *));

/* g2unix.c */
long gentime2unix
	PROTOTYPE((const struct type_UNIV_GeneralizedTime *, int *));

/* kadat2adat.c */
struct type_KRB5_AuthorizationData *krb5_authdata2KRB5_AuthorizationData
	PROTOTYPE((krb5_authdata *const *, int *));

/* kaddr2addr.c */
struct type_KRB5_HostAddresses *krb5_address2KRB5_HostAddresses
	PROTOTYPE((krb5_address *const *, int *));

/* kadr2adr.c */
struct type_KRB5_HostAddress *krb5_addr2KRB5_HostAddress
	PROTOTYPE((krb5_address const *, int *));

/* kaprp2aprp.c */
struct type_KRB5_AP__REP *krb5_ap_rep2KRB5_AP__REP
	PROTOTYPE((const krb5_ap_rep *, int *));

/* kaprq2aprq.c */
struct type_KRB5_AP__REQ *krb5_ap_req2KRB5_AP__REQ
	PROTOTYPE((const krb5_ap_req *, int *));

/* karep2arep.c */
struct type_KRB5_EncAPRepPart *krb5_ap_rep_enc_part2KRB5_EncAPRepPart
	PROTOTYPE((const krb5_ap_rep_enc_part *, int *));

/* kasrp2kdcr.c */
struct type_KRB5_AS__REP *krb5_as_rep2KRB5_KDC__REP
	PROTOTYPE((const krb5_kdc_rep *, int *));

/* kauth2auth.c */
struct type_KRB5_Authenticator *krb5_authenticator2KRB5_Authenticator
	PROTOTYPE((const krb5_authenticator *, int *));

/* kck2ck.c */
struct type_KRB5_Checksum *krb5_checksum2KRB5_Checksum
	PROTOTYPE((const krb5_checksum *, int *));

/* kdcr2kasrp.c */
krb5_kdc_rep *KRB5_KDC__REP2krb5_as_rep
	PROTOTYPE((const struct type_KRB5_AS__REP *, int *));

/* kdcr2kkdcr.c */
krb5_kdc_rep *KRB5_KDC__REP2krb5_kdc_rep
	PROTOTYPE((const struct type_KRB5_TGS__REP *, int *));

/* kdcr2ktgsr.c */
krb5_kdc_rep *KRB5_KDC__REP2krb5_tgs_rep
	PROTOTYPE((const struct type_KRB5_TGS__REP *, int *));

/* kedat2edat.c */
struct type_KRB5_EncryptedData *krb5_enc_data2KRB5_EncryptedData
	PROTOTYPE((const krb5_enc_data *, int *));

/* kekrp2ekrp.c */
struct type_KRB5_EncKDCRepPart *krb5_enc_kdc_rep_part2KRB5_EncKDCRepPart
	PROTOTYPE((const krb5_enc_kdc_rep_part *, int *));

/* kerr2err.c */
struct type_KRB5_KRB__ERROR *krb5_error2KRB5_KRB__ERROR
	PROTOTYPE((const krb5_error *, int *));

/* ketpt2etpt.c */
struct type_KRB5_EncTicketPart *krb5_enc_tkt_part2KRB5_EncTicketPart
	PROTOTYPE((const krb5_enc_tkt_part *, int *));

/* kkey2enck.c */
struct type_KRB5_EncryptionKey *krb5_keyblock2KRB5_EncryptionKey
	PROTOTYPE((const krb5_keyblock *, int *));

/* klsrq2lsrq.c */
struct type_KRB5_LastReq *krb5_last_req2KRB5_LastReq
	PROTOTYPE((krb5_last_req_entry *const *, int *));

/* kprep2prep.c */
struct type_KRB5_EncKrbPrivPart *krb5_priv_enc_part2KRB5_EncKrbPrivPart
	PROTOTYPE((const krb5_priv_enc_part *, int *));

/* kcrep2crep.c */
struct type_KRB5_EncKrbCredPart *krb5_cred_enc_part2KRB5_EncKrbCredPart
	PROTOTYPE((const krb5_cred_enc_part *, int *));

/* kprin2prin.c */
struct type_KRB5_PrincipalName *krb5_principal2KRB5_PrincipalName
	PROTOTYPE((krb5_const_principal , int *));

/* kpriv2priv.c */
struct type_KRB5_KRB__PRIV *krb5_priv2KRB5_KRB__PRIV
	PROTOTYPE((const krb5_priv *, int *));

/* kcred2cred.c */
struct type_KRB5_KRB__CRED *krb5_cred2KRB5_KRB__CRED
	PROTOTYPE((const krb5_cred *, int *));

/* Sandia Passwd Utilities */
/* kpwds2pwds.c */
struct type_KRB5_PasswdData *krb5_pwd_data2KRB5_PWD__DATA
	PROTOTYPE((krb5_pwd_data const *, int *));

/* kpwd2pwd.c */
struct type_KRB5_PasswdSequence *krb5_pwd_seq2KRB5_PWD__SEQ
	PROTOTYPE((const passwd_phrase_element *, int *));


/* ksafe2safe.c */
struct type_KRB5_KRB__SAFE *krb5_safe2KRB5_KRB__SAFE
	PROTOTYPE((const krb5_safe *, int *));

/* ktgrq2tgrq.c */
struct type_KRB5_KDC__REQ__BODY *krb5_kdc_req2KRB5_KDC__REQ__BODY
	PROTOTYPE((const krb5_kdc_req *, int *));
struct type_KRB5_KDC__REQ *krb5_kdc_req2KRB5_KDC__REQ
	PROTOTYPE((const krb5_kdc_req *, int *));

/* ktgsr2kdcr.c */
struct type_KRB5_TGS__REP *krb5_tgs_rep2KRB5_KDC__REP
	PROTOTYPE((const krb5_kdc_rep *, int *));

/* ktkt2tkt.c */
struct type_KRB5_Ticket *krb5_ticket2KRB5_Ticket
	PROTOTYPE((const krb5_ticket *, int *));

/* lsrq2klsrq.c */
krb5_last_req_entry **KRB5_LastReq2krb5_last_req
	PROTOTYPE((const struct type_KRB5_LastReq *, int *));

/* prep2kprep.c */
krb5_priv_enc_part *KRB5_EncKrbPrivPart2krb5_priv_enc_part
	PROTOTYPE((const struct type_KRB5_EncKrbPrivPart *, int *));

/* crep2kcrep.c */
krb5_cred_enc_part *KRB5_EncKrbCredPart2krb5_cred_enc_part
	PROTOTYPE((const struct type_KRB5_EncKrbCredPart *, int *));

/* prin2kprin.c */
krb5_principal KRB5_PrincipalName2krb5_principal
	PROTOTYPE((const struct type_KRB5_PrincipalName *, const struct type_KRB5_Realm *, int *));

/* priv2kpriv.c */
krb5_priv *KRB5_KRB__PRIV2krb5_priv
	PROTOTYPE((const struct type_KRB5_KRB__PRIV *, int *));

/* cred2kcred.c */
krb5_cred *KRB5_KRB__CRED2krb5_cred
	PROTOTYPE((const struct type_KRB5_KRB__CRED *, int *));

/* Sandia passwd utilities */
/* pwds2kpwds.c */
krb5_pwd_data *KRB5_PWD__DATA2krb5_pwd_data
	PROTOTYPE((const struct type_KRB5_PasswdData *, int *));

/* pwd2kpwd.c */
 passwd_phrase_element *KRB5_PWD__SEQ2krb5_pwd_seq
	PROTOTYPE((const struct type_KRB5_PasswdSequence *, int *));


/* qbuf2data.c */
krb5_data *qbuf2krb5_data
	PROTOTYPE((const struct qbuf *, int *));

/* safe2ksafe.c */
krb5_safe *KRB5_KRB__SAFE2krb5_safe
	PROTOTYPE((const struct type_KRB5_KRB__SAFE *, int *));

/* tgrq2ktgrq.c */
krb5_kdc_req *KRB5_KDC__REQ__BODY2krb5_kdc_req
	PROTOTYPE((const struct type_KRB5_KDC__REQ__BODY *, int *));
krb5_kdc_req *KRB5_KDC__REQ2krb5_kdc_req
	PROTOTYPE((const struct type_KRB5_KDC__REQ *, int *));

/* tkt2ktkt.c */
krb5_ticket *KRB5_Ticket2krb5_ticket
	PROTOTYPE((const struct type_KRB5_Ticket *, int *));

/* u2gen.c */
struct type_UNIV_GeneralizedTime *unix2gentime
	PROTOTYPE((const int , int *));

/* cvt_flags.c */
struct type_KRB5_TicketFlags *krb5_flags2KRB5_TicketFlags
	PROTOTYPE((const krb5_flags ,int *));
krb5_flags KRB5_TicketFlags2krb5_flags
	PROTOTYPE((const struct type_KRB5_TicketFlags *,int *));

/* kpadt2padt.c */
/*
struct type_KRB5_PA__DATA *krb5_pa_data2KRB5_PA__DATA
    PROTOTYPE((krb5_pa_data **, int *));
*/

/* ktran2tran.c */
struct type_KRB5_TransitedEncoding *krb5_transited2KRB5_TransitedEncoding
    PROTOTYPE((const krb5_transited *, int *));

/* padt2kpadt.c */
/*
krb5_pa_data **KRB5_PA__DATA2krb5_pa_data
    PROTOTYPE((struct type_KRB5_PA__DATA *, int *));
*/

/* tran2ktran.c */
krb5_transited *KRB5_TransitedEncoding2krb5_transited
    PROTOTYPE((const struct type_KRB5_TransitedEncoding *, int *));

/* kkdcr2kdcr.c */
struct type_KRB5_TGS__REP *krb5_kdc_rep2KRB5_KDC__REP
	PROTOTYPE((const krb5_kdc_rep *, int *));

/* #include <krb5/widen.h> */

/* Only put things which don't have pointers to the narrow types in this
   section */

/* #include <krb5/narrow.h> */

#endif /* KRB5_ASN1DEFS__ */