1 /*
2 +----------------------------------------------------------------------+
3 | PHP Version 7 |
4 +----------------------------------------------------------------------+
5 | Copyright (c) 2006-2016 The PHP Group |
6 +----------------------------------------------------------------------+
7 | This source file is subject to version 3.01 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_01.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: Andrey Hristov <andrey@mysql.com> |
16 | Ulf Wendel <uwendel@mysql.com> |
17 | Georg Richter <georg@mysql.com> |
18 +----------------------------------------------------------------------+
19 */
20 /* $Id: mysqlnd.h 318051 2011-10-12 16:18:02Z andrey $ */
21
22 #ifndef MYSQLND_REVERSE_API_H
23 #define MYSQLND_REVERSE_API_H
24 typedef struct st_mysqlnd_reverse_api
25 {
26 zend_module_entry * module;
27 MYSQLND *(*conversion_cb)(zval * zv);
28 } MYSQLND_REVERSE_API;
29
30
31 PHPAPI void mysqlnd_reverse_api_init(void);
32 PHPAPI void mysqlnd_reverse_api_end(void);
33
34 PHPAPI HashTable * mysqlnd_reverse_api_get_api_list(void);
35
36 PHPAPI void mysqlnd_reverse_api_register_api(MYSQLND_REVERSE_API * apiext);
37 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv, const unsigned int client_api_capabilities, unsigned int * save_client_api_capabilities);
38
39 #endif /* MYSQLND_REVERSE_API_H */
40
41 /*
42 * Local variables:
43 * tab-width: 4
44 * c-basic-offset: 4
45 * End:
46 * vim600: noet sw=4 ts=4 fdm=marker
47 * vim<600: noet sw=4 ts=4
48 */