Go to the source code of this file.
int DBAddUser |
( |
char * |
username, |
|
|
char * |
password |
|
) |
| |
Add a user
- Parameters
-
username | User name |
password | Password |
- Returns
- 0 for success, non-zero otherwise
int DBFindUser |
( |
char * |
username, |
|
|
char * |
password |
|
) |
| |
Find a user and return the password
- Parameters
-
username | User name to find |
password | If the user is found the password will be returned here |
- Returns
- 1 if user is found, 0 otherwise
Initialize the database
- Returns
- 0 for success, non-zero for failure
int DBUpdateLoginDate |
( |
char * |
username | ) |
|
Log in a user
- Parameters
-
- Returns
- 0 for success, non-zero otherwise
(C) Copyright 1998-2012 by The