odbc_obj Struct Reference

ODBC container. More...

#include <res_odbc.h>

Collaboration diagram for odbc_obj:

Collaboration graph

Data Fields

struct timeval last_used
struct {
   struct odbc_obj *   next
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 46 of file res_odbc.h.

Field Documentation


struct timeval last_used [read]

Used by idlecheck to determine if the connection should be renegotiated

Definition at line 49 of file res_odbc.h.

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

struct { ... } list

struct odbc_obj* next [read]

Definition at line 59 of file res_odbc.h.

struct odbc_class* parent [read]

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(), aoro2_obj_notx_cb(), ast_odbc_direct_execute(), ast_odbc_prepare_and_execute(), ast_odbc_sanity_check(), data_odbc_provider_handler(), and find_transaction().

struct odbc_txn_frame* txf [read]

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 up

unsigned int used

Is this connection currently in use?

Definition at line 55 of file res_odbc.h.

Referenced by _ast_odbc_request_obj2(), aoro2_obj_cb(), data_odbc_provider_handler(), handle_cli_odbc_show(), and odbc_release_obj2().

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

Generated on Thu Apr 16 06:36:59 2015 for Asterisk - The Open Source Telephony Project by  doxygen 1.5.6