** Register the "fsdir" virtual table. */
| 6420 | ** Register the "fsdir" virtual table. |
| 6421 | */ |
| 6422 | static int fsdirRegister(sqlite3 *db){ |
| 6423 | static sqlite3_module fsdirModule = { |
| 6424 | 0, /* iVersion */ |
| 6425 | 0, /* xCreate */ |
| 6426 | fsdirConnect, /* xConnect */ |
| 6427 | fsdirBestIndex, /* xBestIndex */ |
| 6428 | fsdirDisconnect, /* xDisconnect */ |
| 6429 | 0, /* xDestroy */ |
| 6430 | fsdirOpen, /* xOpen - open a cursor */ |
| 6431 | fsdirClose, /* xClose - close a cursor */ |
| 6432 | fsdirFilter, /* xFilter - configure scan constraints */ |
| 6433 | fsdirNext, /* xNext - advance a cursor */ |
| 6434 | fsdirEof, /* xEof - check for end of scan */ |
| 6435 | fsdirColumn, /* xColumn - read data */ |
| 6436 | fsdirRowid, /* xRowid - read data */ |
| 6437 | 0, /* xUpdate */ |
| 6438 | 0, /* xBegin */ |
| 6439 | 0, /* xSync */ |
| 6440 | 0, /* xCommit */ |
| 6441 | 0, /* xRollback */ |
| 6442 | 0, /* xFindMethod */ |
| 6443 | 0, /* xRename */ |
| 6444 | 0, /* xSavepoint */ |
| 6445 | 0, /* xRelease */ |
| 6446 | 0, /* xRollbackTo */ |
| 6447 | 0, /* xShadowName */ |
| 6448 | }; |
| 6449 | |
| 6450 | int rc = sqlite3_create_module(db, "fsdir", &fsdirModule, 0); |
| 6451 | return rc; |
| 6452 | } |
| 6453 | #else /* SQLITE_OMIT_VIRTUALTABLE */ |
| 6454 | # define fsdirRegister(x) SQLITE_OK |
| 6455 | #endif |
no outgoing calls
no test coverage detected