4 ** The author disclaims copyright to this source code. In place of
5 ** a legal notice, here is a blessing:
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.
11 ******************************************************************************
14 #ifndef _SQLITE_OS_TEST_H_
15 #define _SQLITE_OS_TEST_H_
17 #define OsFile OsRealFile
24 /* Include sqliteInt.h now to get the type u8. */
25 #include "sqliteInt.h"
27 typedef struct OsTestFile
* OsFile
;
28 typedef struct OsTestFile OsTestFile
;
30 u8
**apBlk
; /* Array of blocks that have been written to. */
31 int nBlk
; /* Size of apBlock. */
32 int nMaxWrite
; /* Largest offset written to. */
33 char *zName
; /* File name */
38 void sqlite3SetCrashParams(int iDelay
, char const *zFile
);
40 #endif /* _SQLITE_OS_UNIX_H_ */