Sat Mar 10 01:55:58 2012

Asterisk developer's documentation


odbc_txn_frame Struct Reference


Data Fields

unsigned int active:1
 Is this record the current active transaction within the channel? Note that the active flag is really only necessary for statements which are triggered from the dialplan, as there isn't a direct correlation between multiple statements. Applications wishing to use transactions may simply perform each statement on the same odbc_obj, which keeps the transaction persistent.
unsigned int forcecommit:1
unsigned int isolation
struct {
   odbc_txn_frame *   next
list
char name [0]
odbc_objobj
ast_channelowner

Detailed Description

Definition at line 161 of file res_odbc.c.


Field Documentation

unsigned int active

Is this record the current active transaction within the channel? Note that the active flag is really only necessary for statements which are triggered from the dialplan, as there isn't a direct correlation between multiple statements. Applications wishing to use transactions may simply perform each statement on the same odbc_obj, which keeps the transaction persistent.

Definition at line 172 of file res_odbc.c.

Referenced by find_transaction(), and mark_transaction_active().

unsigned int forcecommit

Should uncommitted transactions be auto-committed on handle release?

Definition at line 173 of file res_odbc.c.

Referenced by acf_transaction_read(), and acf_transaction_write().

unsigned int isolation

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

Definition at line 174 of file res_odbc.c.

Referenced by acf_transaction_read(), and acf_transaction_write().

struct { ... } list

Referenced by ast_odbc_retrieve_transaction_obj().

char name[0]

Name of this transaction ID

Definition at line 175 of file res_odbc.c.

Referenced by acf_transaction_read(), and find_transaction().

struct odbc_txn_frame* next

Definition at line 162 of file res_odbc.c.

struct odbc_obj* obj

Database handle within which transacted statements are run

Definition at line 164 of file res_odbc.c.

Referenced by acf_transaction_write(), ast_odbc_backslash_is_escape(), ast_odbc_release_obj(), ast_odbc_retrieve_transaction_obj(), commit_exec(), find_transaction(), odbc_obj_connect(), odbc_obj_disconnect(), release_transaction(), and rollback_exec().

struct ast_channel* owner

Definition at line 163 of file res_odbc.c.

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


The documentation for this struct was generated from the following file:
Generated on Sat Mar 10 01:55:58 2012 for Asterisk - The Open Source Telephony Project by  doxygen 1.4.7