11 int ValidateUser(char *Username, char *Password);
12 tUserInfo *GetUserInfo(int UID);
19 * \fn int ValidateUser(char *Username, char *Password)
20 * \brief Validates a users credentials
21 * \return UID on success, -1 on failure
23 int ValidateUser(char *Username, char *Password)
25 if(Username == NULL) return -1;
26 if(Password == NULL) return -1;
27 if(strcmp(Username, "root") == 0) return 0;
32 * \fn void GetUserInfo(int UID)
33 * \brief Gets a users information
35 tUserInfo *GetUserInfo(int UID)
37 if(UID != 0) return NULL;
41 gUserInfo.Shell = "/Acess/Bin/CLIShell";
42 gUserInfo.Home = "/Acess/Root";