summaryrefslogtreecommitdiff
path: root/ext/odbc/php_odbc.h
diff options
context:
space:
mode:
authorAndreas Karajannis <kara@php.net>2000-05-28 12:48:12 +0000
committerAndreas Karajannis <kara@php.net>2000-05-28 12:48:12 +0000
commite50b33c2402d53fc7b1ead9444e09d420d0c7b7c (patch)
tree1fd24878df6ebfe4fd321d1a9e1d86505d1a4a4b /ext/odbc/php_odbc.h
parent44cf237a720ddef94b98e301951699d39e657a64 (diff)
downloadphp-git-e50b33c2402d53fc7b1ead9444e09d420d0c7b7c.tar.gz
Cosmetic changes.
Diffstat (limited to 'ext/odbc/php_odbc.h')
-rw-r--r--ext/odbc/php_odbc.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/ext/odbc/php_odbc.h b/ext/odbc/php_odbc.h
index 6308b4ce95..199edc4974 100644
--- a/ext/odbc/php_odbc.h
+++ b/ext/odbc/php_odbc.h
@@ -269,14 +269,15 @@ void odbc_del_result(HashTable *list, int count);
int odbc_add_conn(HashTable *list, HDBC conn);
odbc_connection *odbc_get_conn(HashTable *list, int count);
void odbc_del_conn(HashTable *list, int ind);
+int odbc_bindcols(odbc_result *result);
-#define ODBC_SQL_ERROR odbc_sql_error
#if defined( HAVE_IBMDB2 ) || defined( HAVE_UNIXODBC )
-void odbc_sql_error(SQLHANDLE henv, SQLHANDLE conn, SQLHANDLE stmt, char *func);
+#define ODBC_SQL_ERROR_PARAMS SQLHANDLE henv, SQLHANDLE conn, SQLHANDLE stmt, char *func
#else
-void odbc_sql_error(HENV henv, HDBC conn, HSTMT stmt, char *func);
+#define ODBC_SQL_ERROR_PARAMS HENV henv, HDBC conn, HSTMT stmt, char *func
#endif
-int odbc_bindcols(odbc_result *result);
+
+void odbc_sql_error(ODBC_SQL_ERROR_PARAMS);
#define IS_SQL_LONG(x) (x == SQL_LONGVARBINARY || x == SQL_LONGVARCHAR)
#define IS_SQL_BINARY(x) (x == SQL_BINARY || x == SQL_VARBINARY || x == SQL_LONGVARBINARY)