Contents Index a_dbtools_info structure an_expand_db structure

ASA Programming Guide
  The Database Tools Interface
    DBTools structures

an_erase_db structure


Function 

Holds information needed to erase a database using the DBTools library.

Syntax 

typedef struct an_erase_db {
unsigned short      version;
const char *         dbname;
MSG_CALLBACK      confirmrtn;
MSG_CALLBACK      errorrtn;
MSG_CALLBACK      msgrtn;
a_bit_field         quiet : 1;
a_bit_field         erase : 1;
const char *          encryption_key;
} an_erase_db;

Parameters 
Member Description
version DBTools version number
dbname Database file name to erase
confirmrtn Callback routine for confirming an action
errorrtn Callback routine for handling an error message
msgrtn Callback routine for handling an information message
quiet Operate without printing messages (1), or print messages (0)
erase Erase without confirmation (1) or with confirmation (0)
encryption_key The encryption key for the database file.
See also 

DBErase function

For more information on callback functions, see Using callback functions.


Contents Index a_dbtools_info structure an_expand_db structure