1 /* 2 +----------------------------------------------------------------------+ 3 | PHP Version 5 | 4 +----------------------------------------------------------------------+ 5 | Copyright (c) 2006-2014 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 TSRMLS_DC); 28 } MYSQLND_REVERSE_API; 29 30 31 PHPAPI void mysqlnd_reverse_api_init(TSRMLS_D); 32 PHPAPI void mysqlnd_reverse_api_end(TSRMLS_D); 33 34 PHPAPI HashTable * mysqlnd_reverse_api_get_api_list(TSRMLS_D); 35 36 PHPAPI void mysqlnd_reverse_api_register_api(MYSQLND_REVERSE_API * apiext TSRMLS_DC); 37 38 PHPAPI MYSQLND * zval_to_mysqlnd(zval * zv TSRMLS_DC); 39 40 #endif /* MYSQLND_REVERSE_API_H */ 41 42 /* 43 * Local variables: 44 * tab-width: 4 45 * c-basic-offset: 4 46 * End: 47 * vim600: noet sw=4 ts=4 fdm=marker 48 * vim<600: noet sw=4 ts=4 49 */ 50 51