MCPcopy Create free account
hub / github.com/apple/foundationdb / vfsAsync

Function vfsAsync

fdbserver/VFSAsync.cpp:801–828  ·  view source on GitHub ↗

** This function returns a pointer to the VFS implemented in this file. ** To make the VFS available to SQLite: ** ** sqlite3_vfs_register(sqlite3_asyncvfs(), 0); */

Source from the content-addressed store, hash-verified

799** sqlite3_vfs_register(sqlite3_asyncvfs(), 0);
800*/
801sqlite3_vfs* vfsAsync() {
802 static sqlite3_vfs asyncvfs = {
803 3, /* iVersion */
804 sizeof(VFSAsyncFile), /* szOsFile */
805 MAXPATHNAME, /* mxPathname */
806 0, /* pNext */
807 "fdb_async", /* zName */
808 0, /* pAppData */
809 asyncOpen, /* xOpen */
810 asyncDelete, /* xDelete */
811 asyncAccess, /* xAccess */
812 asyncFullPathname, /* xFullPathname */
813 asyncDlOpen, /* xDlOpen */
814 asyncDlError, /* xDlError */
815 asyncDlSym, /* xDlSym */
816 asyncDlClose, /* xDlClose */
817 asyncRandomness, /* xRandomness */
818 asyncSleep, /* xSleep */
819 asyncCurrentTime, /* xCurrentTime */
820 asyncGetLastError, /* xGetLastError */
821 asyncCurrentTimeInt64, /* xCurrentTimeInt64 */
822 0, /* xSetSystemCall */
823 0, /* xGetSystemCall */
824 0, /* xNextSystemCall */
825
826 };
827 return &asyncvfs;
828}

Callers 1

KeyValueStoreSQLiteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected