summaryrefslogtreecommitdiff
path: root/ext/oracle/oracle_hack.c
blob: b3ec71bc773c454c4c3defd8e57b3ad31c3261f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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);
}