| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** 2001 September 15 | 2 ** 2001 September 15 |
| 3 ** | 3 ** |
| 4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
| 5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
| 6 ** | 6 ** |
| 7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
| 8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
| 9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
| 10 ** | 10 ** |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 /* Open and close a Pager connection. */ | 105 /* Open and close a Pager connection. */ |
| 106 int sqlite3PagerOpen( | 106 int sqlite3PagerOpen( |
| 107 sqlite3_vfs*, | 107 sqlite3_vfs*, |
| 108 Pager **ppPager, | 108 Pager **ppPager, |
| 109 const char*, | 109 const char*, |
| 110 int, | 110 int, |
| 111 int, | 111 int, |
| 112 int, | 112 int, |
| 113 void(*)(DbPage*) | 113 void(*)(DbPage*) |
| 114 ); | 114 ); |
| 115 int sqlite3PagerClose(Pager *pPager); | 115 int sqlite3PagerClose(Pager *pPager, sqlite3*); |
| 116 int sqlite3PagerReadFileheader(Pager*, int, unsigned char*); | 116 int sqlite3PagerReadFileheader(Pager*, int, unsigned char*); |
| 117 | 117 |
| 118 /* Functions used to configure a Pager object. */ | 118 /* Functions used to configure a Pager object. */ |
| 119 void sqlite3PagerSetBusyhandler(Pager*, int(*)(void *), void *); | 119 void sqlite3PagerSetBusyhandler(Pager*, int(*)(void *), void *); |
| 120 int sqlite3PagerSetPagesize(Pager*, u32*, int); | 120 int sqlite3PagerSetPagesize(Pager*, u32*, int); |
| 121 #ifdef SQLITE_HAS_CODEC | 121 #ifdef SQLITE_HAS_CODEC |
| 122 void sqlite3PagerAlignReserve(Pager*,Pager*); | 122 void sqlite3PagerAlignReserve(Pager*,Pager*); |
| 123 #endif | 123 #endif |
| 124 int sqlite3PagerMaxPageCount(Pager*, int); | 124 int sqlite3PagerMaxPageCount(Pager*, int); |
| 125 void sqlite3PagerSetCachesize(Pager*, int); | 125 void sqlite3PagerSetCachesize(Pager*, int); |
| (...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 int *sqlite3PagerStats(Pager*); | 215 int *sqlite3PagerStats(Pager*); |
| 216 void sqlite3PagerRefdump(Pager*); | 216 void sqlite3PagerRefdump(Pager*); |
| 217 void disable_simulated_io_errors(void); | 217 void disable_simulated_io_errors(void); |
| 218 void enable_simulated_io_errors(void); | 218 void enable_simulated_io_errors(void); |
| 219 #else | 219 #else |
| 220 # define disable_simulated_io_errors() | 220 # define disable_simulated_io_errors() |
| 221 # define enable_simulated_io_errors() | 221 # define enable_simulated_io_errors() |
| 222 #endif | 222 #endif |
| 223 | 223 |
| 224 #endif /* _PAGER_H_ */ | 224 #endif /* _PAGER_H_ */ |
| OLD | NEW |