Annotation of embedaddon/php/ext/sqlite3/php_sqlite3.h, revision 1.1.1.4

1.1       misho       1: /*
                      2:    +----------------------------------------------------------------------+
                      3:    | PHP Version 5                                                        |
                      4:    +----------------------------------------------------------------------+
1.1.1.4 ! misho       5:    | Copyright (c) 1997-2014 The PHP Group                                |
1.1       misho       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: Scott MacVicar <scottmac@php.net>                           |
                     16:    +----------------------------------------------------------------------+
                     17: */
                     18: 
1.1.1.2   misho      19: /* $Id$ */
1.1       misho      20: 
                     21: #ifndef PHP_SQLITE3_H
                     22: #define PHP_SQLITE3_H
                     23: 
1.1.1.2   misho      24: #define PHP_SQLITE3_VERSION     "0.7"
1.1       misho      25: 
                     26: extern zend_module_entry sqlite3_module_entry;
                     27: #define phpext_sqlite3_ptr &sqlite3_module_entry
                     28: 
                     29: ZEND_BEGIN_MODULE_GLOBALS(sqlite3)
                     30:        char *extension_dir;
                     31: ZEND_END_MODULE_GLOBALS(sqlite3)
                     32: 
                     33: #ifdef ZTS
                     34: # define SQLITE3G(v) TSRMG(sqlite3_globals_id, zend_sqlite3_globals *, v)
                     35: #else
                     36: # define SQLITE3G(v) (sqlite3_globals.v)
                     37: #endif
                     38: 
                     39: #define PHP_SQLITE3_ASSOC      1<<0
                     40: #define PHP_SQLITE3_NUM                1<<1
                     41: #define PHP_SQLITE3_BOTH       (PHP_SQLITE3_ASSOC|PHP_SQLITE3_NUM)
                     42: 
                     43: #endif
                     44: 
                     45: /*
                     46:  * Local variables:
                     47:  * tab-width: 4
                     48:  * c-basic-offset: 4
                     49:  * indent-tabs-mode: t
                     50:  * End:
                     51:  */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>