xref: /PHP-8.2/ext/pdo_dblib/php_pdo_dblib.h (revision 01b3fc03)
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   | Author: Wez Furlong <wez@php.net>                                    |
14   |         Frank M. Kromann <frank@kromann.info>                        |
15   +----------------------------------------------------------------------+
16 */
17 
18 #ifndef PHP_PDO_DBLIB_H
19 #define PHP_PDO_DBLIB_H
20 
21 #ifdef PDO_DBLIB_IS_MSSQL
22 extern zend_module_entry pdo_mssql_module_entry;
23 #define phpext_pdo_mssql_ptr &pdo_mssql_module_entry
24 #else
25 extern zend_module_entry pdo_dblib_module_entry;
26 #define phpext_pdo_dblib_ptr &pdo_dblib_module_entry
27 #endif
28 
29 #include "php_version.h"
30 #define PHP_PDO_DBLIB_VERSION PHP_VERSION
31 
32 #ifdef ZTS
33 # include "TSRM.h"
34 #endif
35 
36 PHP_MINIT_FUNCTION(pdo_dblib);
37 PHP_MSHUTDOWN_FUNCTION(pdo_dblib);
38 PHP_MINFO_FUNCTION(pdo_dblib);
39 PHP_RSHUTDOWN_FUNCTION(pdo_dblib);
40 
41 #endif
42