summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2001-12-07 07:21:05 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2001-12-07 07:21:05 +0000
commit15515da8a2031086a5c4f75d04ef5ec2925cfa1b (patch)
tree80d2aefa37a31eca61c542b5a59647654aea1810
parent1ec143228a7c5d8b13c0b36d9ca6a732bfa49ac6 (diff)
downloadphp-git-15515da8a2031086a5c4f75d04ef5ec2925cfa1b.tar.gz
protos prepared
-rw-r--r--ext/odbc/velocis.c36
1 files changed, 36 insertions, 0 deletions
diff --git a/ext/odbc/velocis.c b/ext/odbc/velocis.c
index 9ad8fc8520..562e041daf 100644
--- a/ext/odbc/velocis.c
+++ b/ext/odbc/velocis.c
@@ -204,6 +204,8 @@ velocis_del_result(HashTable *list,int ind)
/* 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_FUNCTION(velocis_connect)
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_FUNCTION(velocis_close)
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 @@ PHP_FUNCTION(velocis_exec)
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 @@ PHP_FUNCTION(velocis_fetch)
res->fetched = 1;
RETURN_TRUE;
}
+/* }}} */
+/* {{{ proto mixed velocis_result(int index, int col)
+ */
PHP_FUNCTION(velocis_result)
{
pval *ind,*col;
@@ -499,7 +513,10 @@ l1:
}
}
}
+/* }}} */
+/* {{{ proto bool velocis_freeresult(int index)
+ */
PHP_FUNCTION(velocis_freeresult)
{
pval *ind;
@@ -518,7 +535,10 @@ PHP_FUNCTION(velocis_freeresult)
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 @@ PHP_FUNCTION(velocis_autocommit)
}
RETURN_TRUE;
}
+/* }}} */
+/* {{{ proto bool velocis_off_autocommit(int index)
+ */
PHP_FUNCTION(velocis_off_autocommit)
{
pval *id;
@@ -564,7 +587,10 @@ PHP_FUNCTION(velocis_off_autocommit)
}
RETURN_TRUE;
}
+/* }}} */
+/* {{{ proto bool velocis_commit(int index)
+ */
PHP_FUNCTION(velocis_commit)
{
pval *id;
@@ -587,7 +613,10 @@ PHP_FUNCTION(velocis_commit)
}
RETURN_TRUE;
}
+/* }}} */
+/* {{{ proto bool velocis_rollback(int index)
+ */
PHP_FUNCTION(velocis_rollback)
{
pval *id;
@@ -610,7 +639,10 @@ PHP_FUNCTION(velocis_rollback)
}
RETURN_TRUE;
}
+/* }}} */
+/* {{{ proto string velocis_fieldname(int index, int col)
+ */
PHP_FUNCTION(velocis_fieldname)
{
pval *ind,*col;
@@ -634,7 +666,10 @@ PHP_FUNCTION(velocis_fieldname)
}
RETURN_STRING(res->values[indx].name,TRUE);
}
+/* }}} */
+/* {{{ proto int velocis_fieldnum(int index)
+ */
PHP_FUNCTION(velocis_fieldnum)
{
pval *ind;
@@ -651,6 +686,7 @@ PHP_FUNCTION(velocis_fieldnum)
}
RETURN_LONG(res->numcols);
}
+/* }}} */
#endif /* HAVE_VELOCIS */