From f67a9bdc52c39eed6837aef8a1eca195549b1469 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Wed, 21 Apr 1999 22:49:16 +0000 Subject: moved dav, msql and oracle to ext/ --- ext/oracle/oracle_hack.c | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 ext/oracle/oracle_hack.c (limited to 'ext/oracle/oracle_hack.c') diff --git a/ext/oracle/oracle_hack.c b/ext/oracle/oracle_hack.c new file mode 100644 index 0000000000..b3ec71bc77 --- /dev/null +++ b/ext/oracle/oracle_hack.c @@ -0,0 +1,24 @@ +/* + This file needs to be compiled in with php on windows so that the + oracle dll will work (and can be compiled). preferably, I would + like to see if there is another way accomplish what needs to be + done with the symbol_table in ora_set_param_values() in oracle.c. + This is just a quick hack to get this out. + + Shane +*/ + +#include "php.h" + +PHPAPI HashTable *php3i_get_symbol_table(void) { + TLS_VARS; + return &GLOBAL(symbol_table); +} + +/* This is becoming a general callback file, rather than an oracle hack + * file. Seems we need the following now for xml. */ + +PHPAPI HashTable *php3i_get_function_table(void) { + TLS_VARS; + return &GLOBAL(function_table); +} -- cgit v1.2.1