27 #define DFLTTOKENLIFETIME (24*3600) 39 const char *pwd,
int pwlen = -1,
#define DFLTTOKENLIFETIME
char * AFSLocalCell()
Returns a pointer to a string with the local cell.
void * GetAFSToken(const char *usr, const char *pwd, int pwlen=-1, int life=DFLTTOKENLIFETIME, char **emsg=0)
Get AFS token for the local cell for 'usr'.
int VerifyAFSToken(void *token)
Verify validity an AFS token.
void DeleteAFSToken(void *token)
Delete an AFS token returned by a successful call to GetAFSToken.