4 #define USER_NAME_LEN 16
5 #define USER_PASS_LEN 16
6 #define USER_EMAIL_LEN 32
8 #define MIN_USER_NAME_LEN 3
9 #define MIN_USER_PASS_LEN 4
14 char name
[USER_NAME_LEN
];
15 char pass
[USER_PASS_LEN
];
16 char email
[USER_EMAIL_LEN
];
20 int add_user (user
*usr
, const char *name
, const char *pass
, const char *email
);
21 int check_user_login (user
*usr
, const char *name
, const char *pass
);
22 int change_password (int user_id
, const char *pass
);