dbLoadGoAhead WebServer APIGoAhead EMF

Synopsis

Load the contents of a database to file.

Prototype

 #include "emfdb.h"

 int dbLoad(int did, char_t * filename, int flags);

Parameters

diddatabase Identifier
filenamename of file to load
flagsflags - reserved for future use

Description

int dbLoad(int did, char_t * filename, int flags);

Return Value

dbLoad returns 0 if successful, or -1 if an error.

Example

int nCheck = dbLoad(0, T("config.txt"), 0);

See Also

dbSave(), dbOpen()