taskrambler
0.1.9
Web server and task management solution.
|
#include <time.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <sys/types.h>
#include <uuid/uuid.h>
#include "session.h"
#include "hash.h"
#include "class.h"
#include "utils/hash.h"
#include "utils/memory.h"
Go to the source code of this file.
Functions | |
static int | sessionCtor (void *_this, va_list *params) |
static void | sessionDtor (void *_this) |
static unsigned long | sessionGetHash (void *_this) |
static void | sessionHandleDouble (void *_this, void *_doub) |
INIT_IFACE (Class, sessionCtor, sessionDtor, NULL) | |
INIT_IFACE (Hashable, sessionGetHash, sessionHandleDouble) | |
CREATE_CLASS (Session, NULL, IFACE(Class), IFACE(Hashable)) | |
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Definition in file session.c.
INIT_IFACE | ( | Class | , |
sessionCtor | , | ||
sessionDtor | , | ||
NULL | |||
) |
INIT_IFACE | ( | Hashable | , |
sessionGetHash | , | ||
sessionHandleDouble | |||
) |
|
static |
Definition at line 41 of file session.c.
References sdbm(), and SESSION_LIVETIME.
|
static |
|
static |