--- embedaddon/php/ext/pdo_sqlite/php_pdo_sqlite_int.h 2012/02/21 23:47:59 1.1.1.1 +++ embedaddon/php/ext/pdo_sqlite/php_pdo_sqlite_int.h 2012/05/29 12:34:41 1.1.1.2 @@ -16,7 +16,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: php_pdo_sqlite_int.h,v 1.1.1.1 2012/02/21 23:47:59 misho Exp $ */ +/* $Id: php_pdo_sqlite_int.h,v 1.1.1.2 2012/05/29 12:34:41 misho Exp $ */ #ifndef PHP_PDO_SQLITE_INT_H #define PHP_PDO_SQLITE_INT_H @@ -46,10 +46,19 @@ struct pdo_sqlite_func { struct pdo_sqlite_fci afunc, astep, afini; }; +struct pdo_sqlite_collation { + struct pdo_sqlite_collation *next; + + const char *name; + zval *callback; + struct pdo_sqlite_fci fc; +}; + typedef struct { sqlite3 *db; pdo_sqlite_error_info einfo; struct pdo_sqlite_func *funcs; + struct pdo_sqlite_collation *collations; } pdo_sqlite_db_handle; typedef struct {