diff options
author | Stig Bakken <ssb@php.net> | 1999-04-21 22:49:16 +0000 |
---|---|---|
committer | Stig Bakken <ssb@php.net> | 1999-04-21 22:49:16 +0000 |
commit | f67a9bdc52c39eed6837aef8a1eca195549b1469 (patch) | |
tree | 0a7be5c5b405910f4d616df0d9bed82196d3c966 /ext/oracle/oracle_hack.c | |
parent | 96660d9a8ce06f12f186d0e3bb5697ce747182a5 (diff) | |
download | php-git-f67a9bdc52c39eed6837aef8a1eca195549b1469.tar.gz |
moved dav, msql and oracle to ext/
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); +} |