⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 os_test.h

📁 sqlite嵌入式数据库的一个封装
💻 H
字号:
/*** 2004 May 22**** The author disclaims copyright to this source code.  In place of** a legal notice, here is a blessing:****    May you do good and not evil.**    May you find forgiveness for yourself and forgive others.**    May you share freely, never taking more than you give.***********************************************************************************/#ifndef _SQLITE_OS_TEST_H_#define _SQLITE_OS_TEST_H_#define OsFile OsRealFile#define OS_UNIX 1#include "os_unix.h"#undef OS_UNIX#undef OsFile#undef SET_FULLSYNC/* Include sqliteInt.h now to get the type u8. */#include "sqliteInt.h"typedef struct OsTestFile* OsFile;typedef struct OsTestFile OsTestFile;struct OsTestFile {  u8 **apBlk;       /* Array of blocks that have been written to. */  int nBlk;         /* Size of apBlock. */  int nMaxWrite;    /* Largest offset written to. */  char *zName;      /* File name */  OsRealFile fd;  OsTestFile *pNext;};void sqlite3SetCrashParams(int iDelay, char const *zFile);#endif /* _SQLITE_OS_UNIX_H_ */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -