php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_odbc.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Stig Sæther Bakken <ssb@php.net> |
14 | Andreas Karajannis <Andreas.Karajannis@gmd.de> |
15 | Kevin N. Shallow <kshallow@tampabay.rr.com> |
16 +----------------------------------------------------------------------+
17*/
18
19#ifndef PHP_ODBC_H
20#define PHP_ODBC_H
21
22#ifdef HAVE_UODBC
23
24#ifdef ZTS
25#include "TSRM.h"
26#endif
27
28extern zend_module_entry odbc_module_entry;
29#define odbc_module_ptr &odbc_module_entry
30
31#include "php_version.h"
32#define PHP_ODBC_VERSION PHP_VERSION
33
34#if defined(HAVE_DBMAKER) || defined(PHP_WIN32) || defined(HAVE_IBMDB2) || defined(HAVE_UNIXODBC) || defined(HAVE_IODBC)
35# define PHP_ODBC_HAVE_FETCH_HASH 1
36#endif
37
38/* user functions */
44
45#ifdef PHP_WIN32
46# define PHP_ODBC_API __declspec(dllexport)
47#elif defined(__GNUC__) && __GNUC__ >= 4
48# define PHP_ODBC_API __attribute__ ((visibility("default")))
49#else
50# define PHP_ODBC_API
51#endif
52
53#else
54
55#define odbc_module_ptr NULL
56
57#endif /* HAVE_UODBC */
58
59#define phpext_odbc_ptr odbc_module_ptr
60
61#endif /* PHP_ODBC_H */
#define PHP_MSHUTDOWN_FUNCTION
Definition php.h:401
#define PHP_MINIT_FUNCTION
Definition php.h:400
#define PHP_MINFO_FUNCTION
Definition php.h:404
#define PHP_RINIT_FUNCTION
Definition php.h:402
#define PHP_RSHUTDOWN_FUNCTION
Definition php.h:403
struct _zend_module_entry zend_module_entry