2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #ifndef AFS_SRC_AUTH_KTC_H
11 #define AFS_SRC_AUTH_KTC_H
13 extern char * ktc_tkt_string(void);
14 extern char * ktc_tkt_string_uid(afs_uint32
);
15 extern void ktc_set_tkt_string(char *);
16 extern int ktc_OldPioctl(void);
18 struct ktc_setTokenData
;
19 struct ktc_tokenUnion
;
20 extern int token_findByType(struct ktc_setTokenData
*, int,
21 struct ktc_tokenUnion
*);
22 extern struct ktc_setTokenData
*token_buildTokenJar(char *);
23 extern int token_addToken(struct ktc_setTokenData
*, struct ktc_tokenUnion
*);
24 extern int token_replaceToken(struct ktc_setTokenData
*,
25 struct ktc_tokenUnion
*);
26 extern int token_SetsEquivalent(struct ktc_setTokenData
*,
27 struct ktc_setTokenData
*);
28 extern void token_setPag(struct ktc_setTokenData
*, int);
29 extern void token_FreeSet(struct ktc_setTokenData
**);
30 extern void token_freeToken(struct ktc_tokenUnion
**);
31 extern void token_freeTokenContents(struct ktc_tokenUnion
*);
35 extern int token_extractRxkad(struct ktc_setTokenData
*, struct ktc_token
*,
36 int *, struct ktc_principal
*);
37 extern int token_importRxkadViceId(struct ktc_tokenUnion
**,
40 extern int token_setRxkadViceId(struct ktc_tokenUnion
*, afs_int32
);
41 #endif /* AFS_SRC_AUTH_KTC_H */