_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
Go to the source code of this file.
Functions | |
db.h - Database routines. | |
| int | DBInit (void) |
| void | DBQuit (void) |
| int | DBFindUser (char *username, char *password) |
| int | DBAddUser (char *username, char *password) |
| int | DBUpdateLoginDate (char *username) |
| int DBAddUser | ( | char * | username, |
| char * | password | ||
| ) |
Add a user
| username | User name |
| password | Password |
| int DBFindUser | ( | char * | username, |
| char * | password | ||
| ) |
Find a user and return the password
| username | User name to find |
| password | If the user is found the password will be returned here |
| int DBInit | ( | void | ) |
Initialize the database
| void DBQuit | ( | void | ) |
Close the database
| int DBUpdateLoginDate | ( | char * | username | ) |
Log in a user
| username | User name |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.