cvs: php4 /ext/odbc velocis.c

From: Date: Fri, 07 Dec 2001 07:21:06 +0000
Subject: cvs: php4 /ext/odbc velocis.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8498@lists.php.net to get a copy of this message
hholzgra Fri Dec 7 02:21:06 2001 EDT Modified files: /php4/ext/odbc velocis.c Log: protos prepared Index: php4/ext/odbc/velocis.c diff -u php4/ext/odbc/velocis.c:1.29 php4/ext/odbc/velocis.c:1.30 --- php4/ext/odbc/velocis.c:1.29 Thu Oct 11 19:33:30 2001 +++ php4/ext/odbc/velocis.c Fri Dec 7 02:21:05 2001 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: velocis.c,v 1.29 2001/10/11 23:33:30 ssb Exp $ */ +/* $Id: velocis.c,v 1.30 2001/12/07 07:21:05 hholzgra Exp $ */ /* * TODO: @@ -204,6 +204,8 @@ /* Users functions */ +/* {{{ proto long velocis_connect(string server, string user, sting pass) + */ PHP_FUNCTION(velocis_connect) { pval *serv,*user,*pass; @@ -250,7 +252,10 @@ php_velocis_module.num_links++; RETURN_LONG(ind); } +/* }}} */ +/* {{{ proto bool velocis_close(int id) + */ PHP_FUNCTION(velocis_close) { pval *id; @@ -271,7 +276,10 @@ php_velocis_module.num_links--; RETURN_TRUE; } +/* }}} */ +/* {{{ proto int velocis(int index, string exec_str) + */ PHP_FUNCTION(velocis_exec) { pval *ind,*exec_str; @@ -369,7 +377,10 @@ indx = velocis_add_result(list,res,conn); RETURN_LONG(indx); } +/* }}} */ +/* {{{ proto bool velocis_fetch(int index) + */ PHP_FUNCTION(velocis_fetch) { pval *ind; @@ -402,7 +413,10 @@ res->fetched = 1; RETURN_TRUE; } +/* }}} */ +/* {{{ proto mixed velocis_result(int index, int col) + */ PHP_FUNCTION(velocis_result) { pval *ind,*col; @@ -499,7 +513,10 @@ } } } +/* }}} */ +/* {{{ proto bool velocis_freeresult(int index) + */ PHP_FUNCTION(velocis_freeresult) { pval *ind; @@ -518,7 +535,10 @@ velocis_del_result(list,Z_LVAL_P(ind)); RETURN_TRUE; } +/* }}} */ +/* {{{ proto bool velocis_on_autocommit(int index) + */ PHP_FUNCTION(velocis_autocommit) { pval *id; @@ -541,7 +561,10 @@ } RETURN_TRUE; } +/* }}} */ +/* {{{ proto bool velocis_off_autocommit(int index) + */ PHP_FUNCTION(velocis_off_autocommit) { pval *id; @@ -564,7 +587,10 @@ } RETURN_TRUE; } +/* }}} */ +/* {{{ proto bool velocis_commit(int index) + */ PHP_FUNCTION(velocis_commit) { pval *id; @@ -587,7 +613,10 @@ } RETURN_TRUE; } +/* }}} */ +/* {{{ proto bool velocis_rollback(int index) + */ PHP_FUNCTION(velocis_rollback) { pval *id; @@ -610,7 +639,10 @@ } RETURN_TRUE; } +/* }}} */ +/* {{{ proto string velocis_fieldname(int index, int col) + */ PHP_FUNCTION(velocis_fieldname) { pval *ind,*col; @@ -634,7 +666,10 @@ } RETURN_STRING(res->values[indx].name,TRUE); } +/* }}} */ +/* {{{ proto int velocis_fieldnum(int index) + */ PHP_FUNCTION(velocis_fieldnum) { pval *ind; @@ -651,6 +686,7 @@ } RETURN_LONG(res->numcols); } +/* }}} */ #endif /* HAVE_VELOCIS */

« previous php.cvs (#8498) next »