Thu Apr 28 2011 17:16:26

Asterisk developer's documentation


odbc_obj Struct Reference

ODBC container. More...

#include <res_odbc.h>

Collaboration diagram for odbc_obj:

Data Fields

SQLHDBC con
struct timeval last_used
struct {
   struct odbc_obj *   next
list
ast_mutex_t lock
struct odbc_classparent
unsigned int tx:1
struct odbc_txn_frametxf
unsigned int up:1
unsigned int used:1

Detailed Description

ODBC container.

Definition at line 45 of file res_odbc.h.


Field Documentation

struct timeval last_used

Used by idlecheck to determine if the connection should be renegotiated

Definition at line 49 of file res_odbc.h.

Referenced by ast_odbc_prepare_and_execute(), ast_odbc_request_obj2(), ast_odbc_smart_execute(), and odbc_obj_connect().

struct { ... } list
struct odbc_obj* next

Definition at line 59 of file res_odbc.h.

unsigned int tx

Should this connection be unshared, regardless of the class setting?

Definition at line 57 of file res_odbc.h.

Referenced by acf_transaction_write(), aoro2_obj_cb(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), and find_transaction().

Reference back to the transaction frame, if applicable

Definition at line 58 of file res_odbc.h.

Referenced by find_transaction(), odbc_release_obj2(), and release_transaction().

unsigned int used

Is this connection currently in use?

Definition at line 55 of file res_odbc.h.

Referenced by aoro2_obj_cb(), ast_odbc_request_obj2(), handle_cli_odbc_show(), and odbc_release_obj2().


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