summaryrefslogtreecommitdiff
path: root/ext/dbx/dbx_pgsql.h
diff options
context:
space:
mode:
authorMarc Boeren <mboeren@php.net>2002-10-29 14:08:40 +0000
committerMarc Boeren <mboeren@php.net>2002-10-29 14:08:40 +0000
commit25e7a092293b4e54e25592d34834bb3d55ae0fdc (patch)
treee0ceed1f54846d8ff4e5ce455fa65c1c682373c9 /ext/dbx/dbx_pgsql.h
parent82317945e5ff22cf6addb9251f656fe5bcc15b1d (diff)
downloadphp-git-25e7a092293b4e54e25592d34834bb3d55ae0fdc.tar.gz
Added dbx_escape_string function
# tested on odbc, oci8 and mysql @Added dbx_escape_string function to dbx module. (Marc)
Diffstat (limited to 'ext/dbx/dbx_pgsql.h')
-rw-r--r--ext/dbx/dbx_pgsql.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/dbx/dbx_pgsql.h b/ext/dbx/dbx_pgsql.h
index 8da190bdcb..a5730889f0 100644
--- a/ext/dbx/dbx_pgsql.h
+++ b/ext/dbx/dbx_pgsql.h
@@ -45,6 +45,8 @@ int dbx_pgsql_getrow(zval **rv, zval **result_handle, long row_number, INTERNAL_
/* returns array[0..columncount-1] as strings on success or 0 as long on failure */
int dbx_pgsql_error(zval **rv, zval **dbx_handle, INTERNAL_FUNCTION_PARAMETERS);
/* returns string */
+int dbx_pgsql_esc(zval **rv, zval **dbx_handle, zval **string, INTERNAL_FUNCTION_PARAMETERS);
+ /* returns escaped string */
#endif /* ZEND_DBX_PGSQL_H */