fix curls detection of ssl on AROS. Adjust the used link libraries (linking ssl twice...
[AROS-Contrib.git] / sqlite3 / os_test.h
blobdc0a04aae21234b1a8d14c2e2971246fe0e5a0cc
1 /*
2 ** 2004 May 22
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.
11 ******************************************************************************
14 #ifndef _SQLITE_OS_TEST_H_
15 #define _SQLITE_OS_TEST_H_
17 #define OsFile OsRealFile
18 #define OS_UNIX 1
19 #include "os_unix.h"
20 #undef OS_UNIX
21 #undef OsFile
22 #undef SET_FULLSYNC
24 /* Include sqliteInt.h now to get the type u8. */
25 #include "sqliteInt.h"
27 typedef struct OsTestFile* OsFile;
28 typedef struct OsTestFile OsTestFile;
29 struct 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 */
34 OsRealFile fd;
35 OsTestFile *pNext;
38 void sqlite3SetCrashParams(int iDelay, char const *zFile);
40 #endif /* _SQLITE_OS_UNIX_H_ */