DB integration: initial support. user login by DB.

This commit is contained in:
2025-10-23 15:18:48 +03:00
parent ae2a506f0e
commit 24c4e75943
9 changed files with 196 additions and 78 deletions
+12
View File
@@ -0,0 +1,12 @@
typedef struct {
char *name;
char *pass;
} i_auth_t;
typedef struct {
char privileges;
int is_logged;
} o_auth_t;
int init_connection();
int db_user_auth(i_auth_t *credentials, o_auth_t *response);