Thu Apr 28 2011 17:16:26

Asterisk developer's documentation


odbc_class Struct Reference

Collaboration diagram for odbc_class:

Data Fields

unsigned int backslash_is_escape:1
int count
unsigned int delme:1
char dsn [80]
SQLHENV env
unsigned int forcecommit:1
unsigned int haspool:1
unsigned int idlecheck
unsigned int isolation
unsigned int limit
struct {
   struct odbc_class *   next
list
char name [80]
struct ao2_containerobj_container
char * password
char * sanitysql
char * username

Detailed Description

Definition at line 116 of file res_odbc.c.


Field Documentation

unsigned int backslash_is_escape

On this database, the backslash is a native escape sequence

Definition at line 127 of file res_odbc.c.

Referenced by ast_odbc_backslash_is_escape().

int count

Running count of pooled connections

Definition at line 131 of file res_odbc.c.

Referenced by ast_odbc_request_obj2(), and handle_cli_odbc_show().

unsigned int delme

Purge the class

Definition at line 126 of file res_odbc.c.

SQLHENV env

Definition at line 124 of file res_odbc.c.

Referenced by odbc_obj_connect().

unsigned int forcecommit

Should uncommitted transactions be auto-committed on handle release?

Definition at line 128 of file res_odbc.c.

Referenced by find_transaction(), and load_odbc_config().

unsigned int haspool

Boolean - TDS databases need this

Definition at line 125 of file res_odbc.c.

unsigned int idlecheck

Recheck the connection if it is idle for this long (in seconds)

Definition at line 132 of file res_odbc.c.

Referenced by ast_odbc_request_obj2(), and load_odbc_config().

unsigned int isolation

Flags for how the DB should deal with data in other, uncommitted transactions

Definition at line 129 of file res_odbc.c.

Referenced by acf_transaction_write(), ast_odbc_request_obj2(), find_transaction(), and load_odbc_config().

unsigned int limit

Maximum number of database handles we will allow

Definition at line 130 of file res_odbc.c.

Referenced by load_odbc_config().

struct odbc_class* next

Definition at line 118 of file res_odbc.c.

Definition at line 133 of file res_odbc.c.

Referenced by ast_odbc_request_obj2().

char* password

Definition at line 122 of file res_odbc.c.

Referenced by load_odbc_config(), and odbc_obj_connect().

char* sanitysql

Definition at line 123 of file res_odbc.c.

Referenced by ast_odbc_sanity_check(), and load_odbc_config().

char* username

Definition at line 121 of file res_odbc.c.

Referenced by load_odbc_config(), and odbc_obj_connect().


The documentation for this struct was generated from the following file: