13 lines
312 B
C
13 lines
312 B
C
#ifndef SERVER_H
|
|
#define SERVER_H
|
|
|
|
int findUser(char * username);
|
|
|
|
int check_password(int idx, char * password);
|
|
bool add_user(char * username, char * password);
|
|
bool modify_username(char * old_uname, char * new_uname);
|
|
bool modify_password(char * uname, char * new_pwd);
|
|
bool delete_user(char * uname);
|
|
|
|
#endif
|