summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorJoey Smith <joey@php.net>2000-10-05 02:40:53 +0000
committerJoey Smith <joey@php.net>2000-10-05 02:40:53 +0000
commit8538f86ac17882c0fcf6a079167ef0d1a22db65a (patch)
tree7159e780e7fdd2619e770575cd9761ad7b914df5 /ext
parent3dd574bb94e0efc91ce3692823e54ce876b5416c (diff)
downloadphp-git-8538f86ac17882c0fcf6a079167ef0d1a22db65a.tar.gz
Add more missing protos and make folding style closer to mysql module.
Diffstat (limited to 'ext')
-rw-r--r--ext/sybase_ct/php_sybase_ct.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/ext/sybase_ct/php_sybase_ct.c b/ext/sybase_ct/php_sybase_ct.c
index 41618e5598..97ebbc40d1 100644
--- a/ext/sybase_ct/php_sybase_ct.c
+++ b/ext/sybase_ct/php_sybase_ct.c
@@ -1340,7 +1340,6 @@ PHP_FUNCTION(sybase_fetch_object)
return_value->value.obj.ce = &zend_standard_class_def;
}
}
-
/* }}} */
/* {{{ proto array sybase_fetch_array(int result)
@@ -1349,7 +1348,6 @@ PHP_FUNCTION(sybase_fetch_array)
{
php_sybase_fetch_hash(INTERNAL_FUNCTION_PARAM_PASSTHRU);
}
-
/* }}} */
/* {{{ proto bool sybase_data_seek(int result, int offset)
@@ -1376,7 +1374,6 @@ PHP_FUNCTION(sybase_data_seek)
result->cur_row = offset->value.lval;
RETURN_TRUE;
}
-
/* }}} */
static char *php_sybase_get_field_name(CS_INT type)
@@ -1474,7 +1471,6 @@ PHP_FUNCTION(sybase_fetch_field)
add_property_long(return_value, "numeric", result->fields[field_offset].numeric);
add_property_string(return_value, "type", php_sybase_get_field_name(result->fields[field_offset].type), 1);
}
-
/* }}} */
@@ -1504,7 +1500,6 @@ PHP_FUNCTION(sybase_field_seek)
result->cur_field = field_offset;
RETURN_TRUE;
}
-
/* }}} */
@@ -1559,10 +1554,11 @@ PHP_FUNCTION(sybase_result)
*return_value = result->data[row->value.lval][field_offset];
pval_copy_constructor(return_value);
}
-
/* }}} */
+/* {{{ proto int sybase_affected_rows([int link_id])
+ Get number of affected rows in last query */
PHP_FUNCTION(sybase_affected_rows)
{
pval *sybase_link_index;
@@ -1590,6 +1586,7 @@ PHP_FUNCTION(sybase_affected_rows)
return_value->value.lval = sybase_ptr->affected_rows;
return_value->type = IS_LONG;
}
+/* }}} */
PHP_MINFO_FUNCTION(sybase)
@@ -1610,6 +1607,8 @@ PHP_MINFO_FUNCTION(sybase)
}
+/* {{{ proto void sybase_min_client_severity(int severity)
+ Sets minimum client severity */
PHP_FUNCTION(sybase_min_client_severity)
{
pval *severity;
@@ -1621,8 +1620,11 @@ PHP_FUNCTION(sybase_min_client_severity)
convert_to_long(severity);
SybCtG(min_client_severity) = severity->value.lval;
}
+/* }}} */
+/* {{{ proto void sybase_min_server_severity(int severity)
+ Sets minimum server severity */
PHP_FUNCTION(sybase_min_server_severity)
{
pval *severity;
@@ -1634,6 +1636,7 @@ PHP_FUNCTION(sybase_min_server_severity)
convert_to_long(severity);
SybCtG(min_server_severity) = severity->value.lval;
}
+/* }}} */
#endif