diff options
author | Andi Shyti <andi@etezian.org> | 2012-09-02 02:12:08 +0200 |
---|---|---|
committer | Andi Shyti <andi@etezian.org> | 2012-09-02 02:12:08 +0200 |
commit | fdb1692c4e93ec4a71453d5d6c319fe1d6405e60 (patch) | |
tree | 0f6142f3858f3f79f00d13097a73b60f89b37476 /include |
accman: git repo created
Signed-off-by: Andi Shyti <andi@etezian.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/accman.h | 16 | ||||
-rw-r--r-- | include/db.h | 6 | ||||
-rw-r--r-- | include/encrypt.h | 6 |
3 files changed, 28 insertions, 0 deletions
diff --git a/include/accman.h b/include/accman.h new file mode 100644 index 0000000..27bfe2b --- /dev/null +++ b/include/accman.h @@ -0,0 +1,16 @@ +#ifndef _ACCMAN_H_ +#define _ACCMAN_H_ + +#include <stdio.h> +#include <stdlib.h> + +#define DOMAIN "etezian.org" +#define MDOMAIN "@"DOMAIN +#define DIM_MDOM 12 + +struct user { + char *n; + char *p; +}; + +#endif diff --git a/include/db.h b/include/db.h new file mode 100644 index 0000000..f391284 --- /dev/null +++ b/include/db.h @@ -0,0 +1,6 @@ +#ifndef _DB_H_ +#define _DB_H_ + +void db_insert_user(struct user); + +#endif diff --git a/include/encrypt.h b/include/encrypt.h new file mode 100644 index 0000000..116e781 --- /dev/null +++ b/include/encrypt.h @@ -0,0 +1,6 @@ +#ifndef _ENCRYPT_H_ +#define _ENCRYPT_H_ + +char* get_crypt_sha256(const char *); + +#endif |