47 lines
1.2 KiB
C
47 lines
1.2 KiB
C
|
|
#include "sqlite3.h"
|
|
//#include "
|
|
|
|
|
|
|
|
int sqlite3_os_init(void)
|
|
{
|
|
// static sqlite3_vfs Vfs = {
|
|
// 3, /* iVersion */
|
|
// sizeof(winFile), /* szOsFile */
|
|
// SQLITE_WIN32_MAX_PATH_BYTES, /* mxPathname */
|
|
// 0, /* pNext */
|
|
// "win32", /* zName */
|
|
// &winAppData, /* pAppData */
|
|
// winOpen, /* xOpen */
|
|
// winDelete, /* xDelete */
|
|
// winAccess, /* xAccess */
|
|
// winFullPathname, /* xFullPathname */
|
|
// winDlOpen, /* xDlOpen */
|
|
// winDlError, /* xDlError */
|
|
// winDlSym, /* xDlSym */
|
|
// winDlClose, /* xDlClose */
|
|
// winRandomness, /* xRandomness */
|
|
// winSleep, /* xSleep */
|
|
// winCurrentTime, /* xCurrentTime */
|
|
// winGetLastError, /* xGetLastError */
|
|
// winCurrentTimeInt64, /* xCurrentTimeInt64 */
|
|
// winSetSystemCall, /* xSetSystemCall */
|
|
// winGetSystemCall, /* xGetSystemCall */
|
|
// winNextSystemCall, /* xNextSystemCall */
|
|
// };
|
|
// sqlite3_vfs_register(&Vfs,1);
|
|
return SQLITE_OK;
|
|
}
|
|
int sqlite3_os_end(void)
|
|
{
|
|
return SQLITE_OK;
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|