1 /* 2 ** 2001-09-15 3 ** 4 ** The author disclaims copyright to this source code. In place of 5 ** a legal notice, here is a blessing: 6 ** 7 ** May you do good and not evil. 8 ** May you find forgiveness for yourself and forgive others. 9 ** May you share freely, never taking more than you give. 10 ** 11 ************************************************************************* 12 */ 13 #if defined(SQLITE_ENABLE_ICU) || defined(SQLITE_ENABLE_ICU_COLLATIONS) 14 /************** Include sqliteicu.h in the middle of main.c ******************/ 15 /************** Begin file sqliteicu.h ***************************************/ 16 /* 17 ** 2008 May 26` 18 ** 19 ** The author disclaims copyright to this source code. In place of 20 ** a legal notice, here is a blessing: 21 ** 22 ** May you do good and not evil. 23 ** May you find forgiveness for yourself and forgive others. 24 ** May you share freely, never taking more than you give. 25 ** 26 ****************************************************************************** 27 ** 28 ** This header file is used by programs that want to link against the 29 ** ICU extension. All it does is declare the sqlite3IcuInit() interface. 30 */ 31 #include "sqlite3sym.h" 32 #include "sqlite3tokenizer.h" 33 34 #ifdef __cplusplus 35 extern "C" { 36 #endif 37 38 SQLITE_API int sqlite3IcuInit(sqlite3 *db); 39 40 /************** End of sqliteicu.h *******************************************/ 41 /************** Continuing where we left off in main.c ***********************/ 42 #endif 43 44 #ifdef SQLITE_ENABLE_ICU 45 SQLITE_API void sqlite3Fts3IcuTokenizerModule(sqlite3_tokenizer_module const**ppModule); 46 #endif 47 48 #ifdef __cplusplus 49 } /* end of the 'extern "C"' block */ 50 #endif