+
+cdef extern from "afs/auth.h":
+ enum:
+ MAXKTCTICKETLEN
+
+ # We don't look into this
+ struct ktc_encryptionKey:
+ pass
+
+ struct ktc_token:
+ ktc_encryptionKey sessionKey
+ short kvno
+ int ticketLen
+ char ticket[MAXKTCTICKETLEN]
+
+ int ktc_GetToken(ktc_principal *server,
+ ktc_token *token,
+ int tokenLen,
+ ktc_principal *client)