3 * This file is automatically generated; please do not edit it.
5 /* Including auth.p.h at beginning of auth.h file. */
7 #ifndef __AUTH_AFS_INCL_
8 #define __AUTH_AFS_INCL_ 1
10 /* no ticket good for longer than 30 days */
11 #define MAXKTCTICKETLIFETIME (30*24*3600)
12 #define MINKTCTICKETLEN 32
13 #define MAXKTCTICKETLEN 344
14 #define MAXKTCNAMELEN 64 /* name & inst should be 256 */
15 #define MAXKTCREALMLEN 64 /* should be 256 */
16 #define KTC_TIME_UNCERTAINTY (15*60) /* max skew separating machines' clocks */
18 struct ktc_encryptionKey {
25 struct ktc_encryptionKey sessionKey;
28 char ticket[MAXKTCTICKETLEN];
31 struct ktc_principal {
32 char name[MAXKTCNAMELEN];
33 char instance[MAXKTCNAMELEN];
34 char cell[MAXKTCREALMLEN];
38 #define KTC_ERROR 1 /* an unexpected error was encountered */
39 #define KTC_TOOBIG 2 /* a buffer was too small for the response */
40 #define KTC_INVAL 3 /* an invalid argument was passed in */
41 #define KTC_NOENT 4 /* no such entry */
44 #endif __AUTH_AFS_INCL_
46 /* End of prolog file auth.p.h. */
48 #define KTC_ERROR (11862784L)
49 #define KTC_TOOBIG (11862785L)
50 #define KTC_INVAL (11862786L)
51 #define KTC_NOENT (11862787L)
52 extern void initialize_ktc_error_table ();
53 #define ERROR_TABLE_BASE_ktc (11862784L)
55 /* for compatibility with older versions... */
56 #define init_ktc_err_tbl initialize_ktc_error_table
57 #define ktc_err_base ERROR_TABLE_BASE_ktc