2
+----------------------------------------------------------------------+
4
+----------------------------------------------------------------------+
5
| Copyright (c) 1997-2004 The PHP Group |
6
+----------------------------------------------------------------------+
7
| This source file is subject to version 3.0 of the PHP license, |
8
| that is bundled with this package in the file LICENSE, and is |
9
| available through the world-wide-web at the following url: |
10
| http://www.php.net/license/3_0.txt. |
11
| If you did not receive a copy of the PHP license and are unable to |
12
| obtain it through the world-wide-web, please send a note to |
13
| license@php.net so we can mail you a copy immediately. |
14
+----------------------------------------------------------------------+
15
| Authors: Stig S�ther Bakken <ssb@php.net> |
16
| Andreas Karajannis <Andreas.Karajannis@gmd.de> |
17
| Kevin N. Shallow <kshallow@tampabay.rr.com> (Birdstep) |
18
+----------------------------------------------------------------------+
21
/* $Id: php_odbc.h,v 1.58.2.1 2005/04/14 21:17:42 sniper Exp $ */
27
#define ODBCVER 0x0250
33
extern zend_module_entry odbc_module_entry;
34
#define odbc_module_ptr &odbc_module_entry
36
#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) || defined(HAVE_IBMDB2) || defined(HAVE_UNIXODBC) || defined(HAVE_BIRDSTEP)
37
# define PHP_ODBC_HAVE_FETCH_HASH 1
41
PHP_MINIT_FUNCTION(odbc);
42
PHP_MSHUTDOWN_FUNCTION(odbc);
43
PHP_RINIT_FUNCTION(odbc);
44
PHP_RSHUTDOWN_FUNCTION(odbc);
45
PHP_MINFO_FUNCTION(odbc);
47
PHP_FUNCTION(odbc_error);
48
PHP_FUNCTION(odbc_errormsg);
49
PHP_FUNCTION(odbc_setoption);
50
PHP_FUNCTION(odbc_autocommit);
51
PHP_FUNCTION(odbc_close);
52
PHP_FUNCTION(odbc_close_all);
53
PHP_FUNCTION(odbc_commit);
54
PHP_FUNCTION(odbc_connect);
55
PHP_FUNCTION(odbc_pconnect);
56
PHP_FUNCTION(odbc_cursor);
57
#ifdef HAVE_SQLDATASOURCES
58
PHP_FUNCTION(odbc_data_source);
60
PHP_FUNCTION(odbc_do);
61
PHP_FUNCTION(odbc_exec);
62
PHP_FUNCTION(odbc_execute);
63
#ifdef PHP_ODBC_HAVE_FETCH_HASH
64
PHP_FUNCTION(odbc_fetch_array);
65
PHP_FUNCTION(odbc_fetch_object);
67
PHP_FUNCTION(odbc_fetch_into);
68
PHP_FUNCTION(odbc_fetch_row);
69
PHP_FUNCTION(odbc_field_len);
70
PHP_FUNCTION(odbc_field_scale);
71
PHP_FUNCTION(odbc_field_name);
72
PHP_FUNCTION(odbc_field_type);
73
PHP_FUNCTION(odbc_field_num);
74
PHP_FUNCTION(odbc_free_result);
75
#if !defined(HAVE_SOLID) && !defined(HAVE_SOLID_30)
76
PHP_FUNCTION(odbc_next_result);
78
PHP_FUNCTION(odbc_num_fields);
79
PHP_FUNCTION(odbc_num_rows);
80
PHP_FUNCTION(odbc_prepare);
81
PHP_FUNCTION(odbc_result);
82
PHP_FUNCTION(odbc_result_all);
83
PHP_FUNCTION(odbc_rollback);
84
PHP_FUNCTION(odbc_binmode);
85
PHP_FUNCTION(odbc_longreadlen);
86
PHP_FUNCTION(odbc_tables);
87
PHP_FUNCTION(odbc_columns);
88
#if !defined(HAVE_DBMAKER) && !defined(HAVE_SOLID) && !defined(HAVE_SOLID_35) /* not supported now */
89
PHP_FUNCTION(odbc_columnprivileges);
90
PHP_FUNCTION(odbc_tableprivileges);
92
#if !defined(HAVE_SOLID) || !defined(HAVE_SOLID_35) /* not supported */
93
PHP_FUNCTION(odbc_foreignkeys);
94
PHP_FUNCTION(odbc_procedures);
95
PHP_FUNCTION(odbc_procedurecolumns);
97
PHP_FUNCTION(odbc_gettypeinfo);
98
PHP_FUNCTION(odbc_primarykeys);
99
PHP_FUNCTION(odbc_specialcolumns);
100
PHP_FUNCTION(odbc_statistics);
104
#define odbc_module_ptr NULL
106
#endif /* HAVE_UODBC */
108
#define phpext_odbc_ptr odbc_module_ptr
110
#endif /* PHP_ODBC_H */