diff options
author | Andi Gutmans <andi@php.net> | 2001-08-17 13:00:46 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2001-08-17 13:00:46 +0000 |
commit | e245e33f1fc7960f237fb9a028fa7e88f3526197 (patch) | |
tree | 5b5d82931f11473f56f22fbd5257aa1ccead09a9 /ext/dbx/dbx_oci8.c | |
parent | 9a2291139269a0d463574e5e708c5a0c97c76e88 (diff) | |
download | php-git-e245e33f1fc7960f237fb9a028fa7e88f3526197.tar.gz |
- Use the same coding standards for pointers as the rest of PHP.
- For example, char ** foo should be char **foo
Diffstat (limited to 'ext/dbx/dbx_oci8.c')
-rw-r--r-- | ext/dbx/dbx_oci8.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/ext/dbx/dbx_oci8.c b/ext/dbx/dbx_oci8.c index 11910fbb53..6d9830491f 100644 --- a/ext/dbx/dbx_oci8.c +++ b/ext/dbx/dbx_oci8.c @@ -30,10 +30,10 @@ #define OCI_RETURN_NULLS 1<<2 #define OCI_RETURN_LOBS 1<<3 -int dbx_oci8_connect(zval ** rv, zval ** host, zval ** db, zval ** username, zval ** password, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_connect(zval **rv, zval **host, zval **db, zval **username, zval **password, INTERNAL_FUNCTION_PARAMETERS) { /* returns connection handle as resource on success or 0 as long on failure */ int number_of_arguments=3; - zval ** arguments[3]; + zval **arguments[3]; zval * returned_zval=NULL; arguments[0]=username; @@ -48,10 +48,10 @@ int dbx_oci8_connect(zval ** rv, zval ** host, zval ** db, zval ** username, zva return 1; } -int dbx_oci8_pconnect(zval ** rv, zval ** host, zval ** db, zval ** username, zval ** password, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_pconnect(zval **rv, zval **host, zval **db, zval **username, zval **password, INTERNAL_FUNCTION_PARAMETERS) { /* returns connection handle as resource on success or 0 as long on failure */ int number_of_arguments=3; - zval ** arguments[3]; + zval **arguments[3]; zval * returned_zval=NULL; arguments[0]=username; @@ -66,10 +66,10 @@ int dbx_oci8_pconnect(zval ** rv, zval ** host, zval ** db, zval ** username, zv return 1; } -int dbx_oci8_close(zval ** rv, zval ** dbx_handle, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_close(zval **rv, zval **dbx_handle, INTERNAL_FUNCTION_PARAMETERS) { /* returns 1 as long on success or 0 as long on failure */ int number_of_arguments=1; - zval ** arguments[1]; + zval **arguments[1]; zval * returned_zval=NULL; arguments[0]=dbx_handle; @@ -82,10 +82,10 @@ int dbx_oci8_close(zval ** rv, zval ** dbx_handle, INTERNAL_FUNCTION_PARAMETERS) return 1; } -int dbx_oci8_query(zval ** rv, zval ** dbx_handle, zval ** db_name, zval ** sql_statement, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_query(zval **rv, zval **dbx_handle, zval **db_name, zval **sql_statement, INTERNAL_FUNCTION_PARAMETERS) { /* returns 1 as long or a result identifier as resource on success or 0 as long on failure */ int number_of_arguments=2; - zval ** arguments[2]; + zval **arguments[2]; zval * returned_zval=NULL; zval * execute_zval=NULL; @@ -110,10 +110,10 @@ int dbx_oci8_query(zval ** rv, zval ** dbx_handle, zval ** db_name, zval ** sql_ return 1; } -int dbx_oci8_getcolumncount(zval ** rv, zval ** result_handle, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_getcolumncount(zval **rv, zval **result_handle, INTERNAL_FUNCTION_PARAMETERS) { /* returns column-count as long on success or 0 as long on failure */ int number_of_arguments=1; - zval ** arguments[1]; + zval **arguments[1]; zval * returned_zval=NULL; arguments[0]=result_handle; @@ -126,10 +126,10 @@ int dbx_oci8_getcolumncount(zval ** rv, zval ** result_handle, INTERNAL_FUNCTION return 1; } -int dbx_oci8_getcolumnname(zval ** rv, zval ** result_handle, long column_index, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_getcolumnname(zval **rv, zval **result_handle, long column_index, INTERNAL_FUNCTION_PARAMETERS) { /* returns column-name as string on success or 0 as long on failure */ int number_of_arguments=2; - zval ** arguments[2]; + zval **arguments[2]; zval * zval_column_index; zval * returned_zval=NULL; @@ -150,10 +150,10 @@ int dbx_oci8_getcolumnname(zval ** rv, zval ** result_handle, long column_index, return 1; } -int dbx_oci8_getcolumntype(zval ** rv, zval ** result_handle, long column_index, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_getcolumntype(zval **rv, zval **result_handle, long column_index, INTERNAL_FUNCTION_PARAMETERS) { /* returns column-type as string on success or 0 as long on failure */ int number_of_arguments=2; - zval ** arguments[2]; + zval **arguments[2]; zval * zval_column_index; zval * returned_zval=NULL; @@ -175,10 +175,10 @@ int dbx_oci8_getcolumntype(zval ** rv, zval ** result_handle, long column_index, return 1; } -int dbx_oci8_getrow(zval ** rv, zval ** result_handle, long row_number, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_getrow(zval **rv, zval **result_handle, long row_number, INTERNAL_FUNCTION_PARAMETERS) { /* returns array[0..columncount-1] as strings on success or 0 as long on failure */ int number_of_arguments=3; - zval ** arguments[3]; + zval **arguments[3]; zval * zval_resulttype=NULL; zval * zval_returned_array=NULL; zval * returned_zval=NULL; @@ -202,10 +202,10 @@ int dbx_oci8_getrow(zval ** rv, zval ** result_handle, long row_number, INTERNAL return 1; } -int dbx_oci8_error(zval ** rv, zval ** dbx_handle, INTERNAL_FUNCTION_PARAMETERS) { +int dbx_oci8_error(zval **rv, zval **dbx_handle, INTERNAL_FUNCTION_PARAMETERS) { /* returns string */ int number_of_arguments=1; - zval ** arguments[1]; + zval **arguments[1]; zval * returned_zval=NULL; zval * returned_message_zval=NULL; arguments[0]=dbx_handle; |