OpenDNSSEC-enforcer  1.4.6
Macros
dbsdef.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DBS_BASE   (65536 + 6144) /* Base of DB status codes */
 
#define DBS_AUTOCOMM   (DBS_BASE + 0) /* ERROR: failed to enable autocommit - %s */
 
#define DBS_BUFFEROVF   (DBS_BASE + 1) /* ERROR: buffer overflow in %s */
 
#define DBS_CONNFAIL   (DBS_BASE + 2) /* ERROR: unable to connect to database - %s */
 
#define DBS_INITFAIL   (DBS_BASE + 3) /* ERROR: could not initialize handle to database */
 
#define DBS_INVARG   (DBS_BASE + 4) /* ERROR: invalid arguments to %s */
 
#define DBS_INVINDEX   (DBS_BASE + 5) /* ERROR: invalid index of %d, maximum index is %d */
 
#define DBS_NORESULT   (DBS_BASE + 6) /* ERROR: no result obtained from query where one was expected */
 
#define DBS_NOSUCHROW   (DBS_BASE + 7) /* ERROR: unable to get ID of last inserted row - no such row created? */
 
#define DBS_NOTCONERR   (DBS_BASE + 8) /* ERROR: not connected to the database */
 
#define DBS_NOTCONN   (DBS_BASE + 9) /* INFO: not connected to the database */
 
#define DBS_NOTINT   (DBS_BASE + 10) /* ERROR: expected integer result from query, but obtained '%s' instead */
 
#define DBS_SQLFAIL   (DBS_BASE + 11) /* ERROR: error executing SQL - %s */
 
#define DBS_STMTALLOC   (DBS_BASE + 12) /* ERROR: unable to allocate prepared statement structure */
 
#define DBS_STMTPREP   (DBS_BASE + 13) /* ERROR: unable to create prepared statement - %s */
 
#define DBS_TOOMANYROW   (DBS_BASE + 14) /* WARNING: query '%s' returned too many rows, excess ignored */
 
#define DBS_UNEXRES   (DBS_BASE + 15) /* ERROR: unexpected result from executing SQL statement '%s' */
 

Macro Definition Documentation

#define DBS_AUTOCOMM   (DBS_BASE + 0) /* ERROR: failed to enable autocommit - %s */

Definition at line 44 of file dbsdef.h.

Referenced by DbConnect().

#define DBS_BASE   (65536 + 6144) /* Base of DB status codes */

Definition at line 42 of file dbsdef.h.

#define DBS_BUFFEROVF   (DBS_BASE + 1) /* ERROR: buffer overflow in %s */

Definition at line 45 of file dbsdef.h.

#define DBS_CONNFAIL   (DBS_BASE + 2) /* ERROR: unable to connect to database - %s */

Definition at line 46 of file dbsdef.h.

Referenced by DbConnect().

#define DBS_INITFAIL   (DBS_BASE + 3) /* ERROR: could not initialize handle to database */

Definition at line 47 of file dbsdef.h.

Referenced by DbConnect().

#define DBS_INVARG   (DBS_BASE + 4) /* ERROR: invalid arguments to %s */
#define DBS_INVINDEX   (DBS_BASE + 5) /* ERROR: invalid index of %d, maximum index is %d */

Definition at line 49 of file dbsdef.h.

Referenced by DbString().

#define DBS_NORESULT   (DBS_BASE + 6) /* ERROR: no result obtained from query where one was expected */

Definition at line 50 of file dbsdef.h.

Referenced by DbIntQuery().

#define DBS_NOSUCHROW   (DBS_BASE + 7) /* ERROR: unable to get ID of last inserted row - no such row created? */

Definition at line 51 of file dbsdef.h.

Referenced by DbLastRowId().

#define DBS_NOTCONERR   (DBS_BASE + 8) /* ERROR: not connected to the database */

Definition at line 52 of file dbsdef.h.

Referenced by DbCheckConnected().

#define DBS_NOTCONN   (DBS_BASE + 9) /* INFO: not connected to the database */

Definition at line 53 of file dbsdef.h.

Referenced by DbDisconnect().

#define DBS_NOTINT   (DBS_BASE + 10) /* ERROR: expected integer result from query, but obtained '%s' instead */

Definition at line 54 of file dbsdef.h.

Referenced by DbInt(), and DbUnsignedLong().

#define DBS_SQLFAIL   (DBS_BASE + 11) /* ERROR: error executing SQL - %s */

Definition at line 55 of file dbsdef.h.

Referenced by DbExecuteSql().

#define DBS_STMTALLOC   (DBS_BASE + 12) /* ERROR: unable to allocate prepared statement structure */

Definition at line 56 of file dbsdef.h.

#define DBS_STMTPREP   (DBS_BASE + 13) /* ERROR: unable to create prepared statement - %s */

Definition at line 57 of file dbsdef.h.

#define DBS_TOOMANYROW   (DBS_BASE + 14) /* WARNING: query '%s' returned too many rows, excess ignored */

Definition at line 58 of file dbsdef.h.

Referenced by DbIntQuery().

#define DBS_UNEXRES   (DBS_BASE + 15) /* ERROR: unexpected result from executing SQL statement '%s' */

Definition at line 59 of file dbsdef.h.

Referenced by DbExecuteSqlNoResult().