unsigned refcount;
int timeout;
time_t expiration; // expiration time of the token
- time_t access;
pthread_mutex_t mutex;
char uuid[37]; // long term authentication of remote client
char token[37]; // short term authentication of remote client
goto error2;
}
- session->access = now;
session->refcount = 1;
return session;
if (session != NULL) {
if (created)
*created = 0;
- session->access = now;
session->refcount++;
return session;
}