diff options
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 |