Lines Matching refs:conn

163 #define PHP_BIRDSTEP_CHK_LNK(id) if (!(conn = birdstep_find_conn(list, id))) { php_error_docref(NUL…
168 VConn *conn = (VConn *)rsrc->ptr; in _close_birdstep_link() local
170 if ( conn ) { in _close_birdstep_link()
171 efree(conn); in _close_birdstep_link()
227 static int birdstep_add_conn(HashTable *list,VConn *conn,HDBC hdbc TSRMLS_DC) in birdstep_add_conn() argument
231 ind = zend_list_insert(conn,php_birdstep_module.le_link TSRMLS_CC); in birdstep_add_conn()
232 conn->hdbc = hdbc; in birdstep_add_conn()
233 conn->index = ind; in birdstep_add_conn()
240 VConn *conn; in birdstep_find_conn() local
243 conn = zend_list_find(ind,&type); in birdstep_find_conn()
244 if ( !conn || type != php_birdstep_module.le_link ) { in birdstep_find_conn()
247 return(conn); in birdstep_find_conn()
255 static int birdstep_add_result(HashTable *list,Vresult *res,VConn *conn) in birdstep_add_result() argument
260 res->conn = conn; in birdstep_add_result()
328 VConn *conn; in PHP_FUNCTION() local
336 SQLDisconnect(conn->hdbc); in PHP_FUNCTION()
337 SQLFreeConnect(conn->hdbc); in PHP_FUNCTION()
351 VConn *conn; in PHP_FUNCTION() local
364 stat = SQLAllocStmt(conn->hdbc,&res->hstmt); in PHP_FUNCTION()
420 indx = birdstep_add_result(list,res,conn); in PHP_FUNCTION()
577 VConn *conn; in PHP_FUNCTION() local
585 stat = SQLSetConnectOption(conn->hdbc,SQL_AUTOCOMMIT,SQL_AUTOCOMMIT_ON); in PHP_FUNCTION()
600 VConn *conn; in PHP_FUNCTION() local
608 stat = SQLSetConnectOption(conn->hdbc,SQL_AUTOCOMMIT,SQL_AUTOCOMMIT_OFF); in PHP_FUNCTION()
623 VConn *conn; in PHP_FUNCTION() local
631 stat = SQLTransact(NULL,conn->hdbc,SQL_COMMIT); in PHP_FUNCTION()
646 VConn *conn; in PHP_FUNCTION() local
654 stat = SQLTransact(NULL,conn->hdbc,SQL_ROLLBACK); in PHP_FUNCTION()