diff options
Diffstat (limited to 'ext/oracle/oracle_hack.c')
-rw-r--r-- | ext/oracle/oracle_hack.c | 24 |
1 files changed, 24 insertions, 0 deletions
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); +} |