Back to index

php5  5.3.10
php_sqlite.h
Go to the documentation of this file.
00001 /*
00002    +----------------------------------------------------------------------+
00003    | PHP Version 5                                                        |
00004    +----------------------------------------------------------------------+
00005    | Copyright (c) 1997-2012 The PHP Group                                |
00006    +----------------------------------------------------------------------+
00007    | This source file is subject to version 3.01 of the PHP license,      |
00008    | that is bundled with this package in the file LICENSE, and is        |
00009    | available through the world-wide-web at the following url:           |
00010    | http://www.php.net/license/3_01.txt                                  |
00011    | If you did not receive a copy of the PHP license and are unable to   |
00012    | obtain it through the world-wide-web, please send a note to          |
00013    | license@php.net so we can mail you a copy immediately.               |
00014    +----------------------------------------------------------------------+
00015    | Authors: Wez Furlong <wez@thebrainroom.com>                          |
00016    |          Tal Peer <tal@php.net>                                      |
00017    |          Marcus Boerger <helly@php.net>                              |
00018    +----------------------------------------------------------------------+
00019 
00020    $Id: php_sqlite.h 321634 2012-01-01 13:15:04Z felipe $ 
00021 */
00022 
00023 #ifndef PHP_SQLITE_H
00024 #define PHP_SQLITE_H
00025 
00026 extern zend_module_entry sqlite_module_entry;
00027 #define phpext_sqlite_ptr &sqlite_module_entry
00028 
00029 #ifdef ZTS
00030 #include "TSRM.h"
00031 #endif
00032 
00033 PHP_MINIT_FUNCTION(sqlite);
00034 PHP_MSHUTDOWN_FUNCTION(sqlite);
00035 PHP_RSHUTDOWN_FUNCTION(sqlite);
00036 PHP_MINFO_FUNCTION(sqlite);
00037 
00038 PHP_FUNCTION(sqlite_open);
00039 PHP_FUNCTION(sqlite_popen);
00040 PHP_FUNCTION(sqlite_close);
00041 PHP_FUNCTION(sqlite_query);
00042 PHP_FUNCTION(sqlite_exec);
00043 PHP_FUNCTION(sqlite_unbuffered_query);
00044 PHP_FUNCTION(sqlite_array_query);
00045 PHP_FUNCTION(sqlite_single_query);
00046 
00047 PHP_FUNCTION(sqlite_fetch_array);
00048 PHP_FUNCTION(sqlite_fetch_object);
00049 PHP_FUNCTION(sqlite_fetch_single);
00050 PHP_FUNCTION(sqlite_fetch_all);
00051 PHP_FUNCTION(sqlite_current);
00052 PHP_FUNCTION(sqlite_column);
00053 
00054 PHP_FUNCTION(sqlite_num_rows);
00055 PHP_FUNCTION(sqlite_num_fields);
00056 PHP_FUNCTION(sqlite_field_name);
00057 PHP_FUNCTION(sqlite_seek);
00058 PHP_FUNCTION(sqlite_rewind);
00059 PHP_FUNCTION(sqlite_next);
00060 PHP_FUNCTION(sqlite_prev);
00061 PHP_FUNCTION(sqlite_key);
00062 
00063 PHP_FUNCTION(sqlite_valid);
00064 PHP_FUNCTION(sqlite_has_prev);
00065 
00066 PHP_FUNCTION(sqlite_libversion);
00067 PHP_FUNCTION(sqlite_libencoding);
00068 
00069 PHP_FUNCTION(sqlite_changes);
00070 PHP_FUNCTION(sqlite_last_insert_rowid);
00071 
00072 PHP_FUNCTION(sqlite_escape_string);
00073 
00074 PHP_FUNCTION(sqlite_busy_timeout);
00075 
00076 PHP_FUNCTION(sqlite_last_error);
00077 PHP_FUNCTION(sqlite_error_string);
00078 
00079 PHP_FUNCTION(sqlite_create_aggregate);
00080 PHP_FUNCTION(sqlite_create_function);
00081 PHP_FUNCTION(sqlite_udf_decode_binary);
00082 PHP_FUNCTION(sqlite_udf_encode_binary);
00083 
00084 PHP_FUNCTION(sqlite_factory);
00085 
00086 PHP_FUNCTION(sqlite_fetch_column_types);
00087 
00088 ZEND_BEGIN_MODULE_GLOBALS(sqlite)
00089         long assoc_case;
00090 ZEND_END_MODULE_GLOBALS(sqlite)
00091 
00092 #ifdef ZTS
00093 #define SQLITE_G(v) TSRMG(sqlite_globals_id, zend_sqlite_globals *, v)
00094 #else
00095 #define SQLITE_G(v) (sqlite_globals.v)
00096 #endif
00097 
00098 #endif
00099 
00100 
00101 /*
00102  * Local variables:
00103  * tab-width: 4
00104  * c-basic-offset: 4
00105  * indent-tabs-mode: t
00106  * End:
00107  */