an_erase_db structure

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;
Members
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