taskrambler
0.1.9
Web server and task management solution.
|
#include <stdio.h>
#include <stdlib.h>
#include <gdbm.h>
#include <errno.h>
#include <string.h>
#include "class.h"
#include "commons.h"
#include "user.h"
#include "storage.h"
#include "utils/memory.h"
Go to the source code of this file.
Functions | |
void | printUser (Storage users, const char *key, size_t nkey) |
void | insertUser (Storage users, const char *email, size_t nemail, const char *firstname, size_t nfirstname, const char *surname, size_t nsurname) |
int | main (int argc, char *argv[]) |
void insertUser | ( | Storage | users, |
const char * | email, | ||
size_t | nemail, | ||
const char * | firstname, | ||
size_t | nfirstname, | ||
const char * | surname, | ||
size_t | nsurname | ||
) |
Definition at line 35 of file usertest.c.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 51 of file usertest.c.
References CSTRA, insertUser(), memCleanup(), and printUser().
void printUser | ( | Storage | users, |
const char * | key, | ||
size_t | nkey | ||
) |
Definition at line 15 of file usertest.c.
Referenced by main().