summaryrefslogtreecommitdiff
path: root/ext/sqlite3/php_sqlite3_structs.h
diff options
context:
space:
mode:
authorOndřej Surý <ondrej@sury.org>2012-02-03 11:02:43 +0100
committerOndřej Surý <ondrej@sury.org>2012-02-03 11:02:43 +0100
commit5292df2401c781de56fd04835c18e11162152626 (patch)
tree34d9215e87887fb4f97b051ac3fa239d6cf4ee89 /ext/sqlite3/php_sqlite3_structs.h
parent96fb2ff5760132a915766f1d9ec7c63001feacd8 (diff)
downloadphp-5292df2401c781de56fd04835c18e11162152626.tar.gz
Imported Upstream version 5.4.0~rc7upstream/5.4.0_rc7
Diffstat (limited to 'ext/sqlite3/php_sqlite3_structs.h')
-rw-r--r--ext/sqlite3/php_sqlite3_structs.h13
1 files changed, 12 insertions, 1 deletions
diff --git a/ext/sqlite3/php_sqlite3_structs.h b/ext/sqlite3/php_sqlite3_structs.h
index 41d545b41..65255c650 100644
--- a/ext/sqlite3/php_sqlite3_structs.h
+++ b/ext/sqlite3/php_sqlite3_structs.h
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_sqlite3_structs.h 321634 2012-01-01 13:15:04Z felipe $ */
+/* $Id: php_sqlite3_structs.h 322913 2012-01-29 03:57:29Z rasmus $ */
#ifndef PHP_SQLITE_STRUCTS_H
#define PHP_SQLITE_STRUCTS_H
@@ -62,12 +62,23 @@ typedef struct _php_sqlite3_func {
struct php_sqlite3_fci afunc, astep, afini;
} php_sqlite3_func;
+/* Structure for SQLite collation function */
+typedef struct _php_sqlite3_collation {
+ struct _php_sqlite3_collation *next;
+
+ const char *collation_name;
+ zval *cmp_func;
+ struct php_sqlite3_fci fci;
+} php_sqlite3_collation;
+
/* Structure for SQLite Database object. */
typedef struct _php_sqlite3_db_object {
zend_object zo;
int initialised;
sqlite3 *db;
php_sqlite3_func *funcs;
+ php_sqlite3_collation *collations;
+
zend_bool exception;
zend_llist free_list;