Collection Contents Index DBTools structures CHAPTER 4.  ODBC Programming pdf/chap3.pdf

Programming Interfaces Guide
   CHAPTER 3. The Database Tools Interface     

DBTools enumeration types


This section lists the enumeration types that are used by the DBTools library. The enumerations are listed alphabetically.

Top of page  Verbosity enumeration

Function 

Specifies the volume of output.

Syntax 

enum {   
   VB_QUIET,
   VB_NORMAL,
   VB_VERBOSE
};

Parameters 

Value

Description

VB_QUIET

No output

VB_NORMAL

Normal amount of output

VB_VERBOSE

Verbose output, useful for debugging.

See Also 

a_create_db structure

an_unload_db structure

Top of page  Blank padding enumeration

Function 

Used in the a_create_db structure, to specify the value of blank_pad.

Syntax 

enum {
   NO_BLANK_PADDING,
   BLANK_PADDING
};

Parameters 

Value

Description

NO_BLANK_PADDING

Does not use blank padding

BLANK_PADDING

Uses blank padding

See Also 

a_create_db structure

Top of page  dbtran_userlist_type enumeration

Function 

The type of a user list, as used by an a_translate_log structure.

Syntax 

typedef enum dbtran_userlist_type {
   DBTRAN_INCLUDE_ALL,
   DBTRAN_INCLUDE_SOME,
   DBTRAN_EXCLUDE_SOME
} dbtran_userlist_type;

Value

Description

DBTRAN_INCLUDE_ALL

Include operations from all users

DBTRAN_INCLUDE_SOME

Include operations only from the users listed in the supplied user list.

DBTRAN_EXCLUDE_SOME

Exclude operations from the users listed in the supplied user list.

See Also 

a_translate_log structure

Top of page  dbunload type enumeration

Function 

The type of unload being performed, as used by the an_unload_db structure.

Syntax 

enum {
   UNLOAD_ALL,
   UNLOAD_DATA_ONLY,
   UNLOAD_NO_DATA
};

Value

Description

UNLOAD_ALL

Unload both data and schema.

UNLOAD_DATA_ONLY

Unload data. Do not unload schema.

UNLOAD_NO_DATA

Unload schema only.

See Also 

an_unload_db structure

Top of page  

Collection Contents Index DBTools structures CHAPTER 4.  ODBC Programming pdf/chap3.pdf