CoolFace
Modelpublic

AryaWu/sqlite

sourceHugging Faceupdated 9mo agoView on Hugging Face
0likes
vtab_injectable_functions.json142 linesDownload Raw Back to injectable_functions
1[2  {3    "function_name": "createModule",4    "function_signature": "static int createModule(\n  sqlite3 *db,                    /* Database in which module is registered */\n  const char *zName,              /* Name assigned to this module */\n  const sqlite3_module *pModule,  /* The definition of the module */\n  void *pAux,                     /* Context pointer for xCreate/xConnect */\n  void (*xDestroy)(void *)        /* Module destructor function */\n)",5    "test_filename": "tests_vtab_createModule.c"6  },7  {8    "function_name": "sqlite3_create_module",9    "function_signature": "int sqlite3_create_module(\n  sqlite3 *db,                    /* Database in which module is registered */\n  const char *zName,              /* Name assigned to this module */\n  const sqlite3_module *pModule,  /* The definition of the module */\n  void *pAux                      /* Context pointer for xCreate/xConnect */\n)",10    "test_filename": "tests_vtab_sqlite3_create_module.c"11  },12  {13    "function_name": "sqlite3_create_module_v2",14    "function_signature": "int sqlite3_create_module_v2(\n  sqlite3 *db,                    /* Database in which module is registered */\n  const char *zName,              /* Name assigned to this module */\n  const sqlite3_module *pModule,  /* The definition of the module */\n  void *pAux,                     /* Context pointer for xCreate/xConnect */\n  void (*xDestroy)(void *)        /* Module destructor function */\n)",15    "test_filename": "tests_vtab_sqlite3_create_module_v2.c"16  },17  {18    "function_name": "sqlite3_drop_modules",19    "function_signature": "int sqlite3_drop_modules(sqlite3 *db, const char** azNames)",20    "test_filename": "tests_vtab_sqlite3_drop_modules.c"21  },22  {23    "function_name": "sqlite3VtabModuleUnref",24    "function_signature": "void sqlite3VtabModuleUnref(sqlite3 *db, Module *pMod)",25    "test_filename": "tests_vtab_sqlite3VtabModuleUnref.c"26  },27  {28    "function_name": "sqlite3VtabUnlock",29    "function_signature": "void sqlite3VtabUnlock(VTable *pVTab)",30    "test_filename": "tests_vtab_sqlite3VtabUnlock.c"31  },32  {33    "function_name": "sqlite3VtabDisconnect",34    "function_signature": "void sqlite3VtabDisconnect(sqlite3 *db, Table *p)",35    "test_filename": "tests_vtab_sqlite3VtabDisconnect.c"36  },37  {38    "function_name": "sqlite3VtabUnlockList",39    "function_signature": "void sqlite3VtabUnlockList(sqlite3 *db)",40    "test_filename": "tests_vtab_sqlite3VtabUnlockList.c"41  },42  {43    "function_name": "sqlite3VtabClear",44    "function_signature": "void sqlite3VtabClear(sqlite3 *db, Table *p)",45    "test_filename": "tests_vtab_sqlite3VtabClear.c"46  },47  {48    "function_name": "addModuleArgument",49    "function_signature": "static void addModuleArgument(Parse *pParse, Table *pTable, char *zArg)",50    "test_filename": "tests_vtab_addModuleArgument.c"51  },52  {53    "function_name": "sqlite3VtabBeginParse",54    "function_signature": "void sqlite3VtabBeginParse(\n  Parse *pParse,        /* Parsing context */\n  Token *pName1,        /* Name of new table, or database name */\n  Token *pName2,        /* Name of new table or NULL */\n  Token *pModuleName,   /* Name of the module for the virtual table */\n  int ifNotExists       /* No error if the table already exists */\n)",55    "test_filename": "tests_vtab_sqlite3VtabBeginParse.c"56  },57  {58    "function_name": "sqlite3VtabFinishParse",59    "function_signature": "void sqlite3VtabFinishParse(Parse *pParse, Token *pEnd)",60    "test_filename": "tests_vtab_sqlite3VtabFinishParse.c"61  },62  {63    "function_name": "sqlite3VtabArgExtend",64    "function_signature": "void sqlite3VtabArgExtend(Parse *pParse, Token *p)",65    "test_filename": "tests_vtab_sqlite3VtabArgExtend.c"66  },67  {68    "function_name": "vtabCallConstructor",69    "function_signature": "static int vtabCallConstructor(\n  sqlite3 *db,\n  Table *pTab,\n  Module *pMod,\n  int (*xConstruct)(sqlite3*,void*,int,const char*const*,sqlite3_vtab**,char**),\n  char **pzErr\n)",70    "test_filename": "tests_vtab_vtabCallConstructor.c"71  },72  {73    "function_name": "sqlite3VtabCallConnect",74    "function_signature": "int sqlite3VtabCallConnect(Parse *pParse, Table *pTab)",75    "test_filename": "tests_vtab_sqlite3VtabCallConnect.c"76  },77  {78    "function_name": "growVTrans",79    "function_signature": "static int growVTrans(sqlite3 *db)",80    "test_filename": "tests_vtab_growVTrans.c"81  },82  {83    "function_name": "sqlite3VtabCallCreate",84    "function_signature": "int sqlite3VtabCallCreate(sqlite3 *db, int iDb, const char *zTab, char **pzErr)",85    "test_filename": "tests_vtab_sqlite3VtabCallCreate.c"86  },87  {88    "function_name": "sqlite3_declare_vtab",89    "function_signature": "int sqlite3_declare_vtab(sqlite3 *db, const char *zCreateTable)",90    "test_filename": "tests_vtab_sqlite3_declare_vtab.c"91  },92  {93    "function_name": "sqlite3VtabCallDestroy",94    "function_signature": "int sqlite3VtabCallDestroy(sqlite3 *db, int iDb, const char *zTab)",95    "test_filename": "tests_vtab_sqlite3VtabCallDestroy.c"96  },97  {98    "function_name": "callFinaliser",99    "function_signature": "static void callFinaliser(sqlite3 *db, int offset)",100    "test_filename": "tests_vtab_callFinaliser.c"101  },102  {103    "function_name": "sqlite3VtabSync",104    "function_signature": "int sqlite3VtabSync(sqlite3 *db, Vdbe *p)",105    "test_filename": "tests_vtab_sqlite3VtabSync.c"106  },107  {108    "function_name": "sqlite3VtabBegin",109    "function_signature": "int sqlite3VtabBegin(sqlite3 *db, VTable *pVTab)",110    "test_filename": "tests_vtab_sqlite3VtabBegin.c"111  },112  {113    "function_name": "sqlite3VtabSavepoint",114    "function_signature": "int sqlite3VtabSavepoint(sqlite3 *db, int op, int iSavepoint)",115    "test_filename": "tests_vtab_sqlite3VtabSavepoint.c"116  },117  {118    "function_name": "sqlite3VtabMakeWritable",119    "function_signature": "void sqlite3VtabMakeWritable(Parse *pParse, Table *pTab)",120    "test_filename": "tests_vtab_sqlite3VtabMakeWritable.c"121  },122  {123    "function_name": "sqlite3VtabEponymousTableInit",124    "function_signature": "int sqlite3VtabEponymousTableInit(Parse *pParse, Module *pMod)",125    "test_filename": "tests_vtab_sqlite3VtabEponymousTableInit.c"126  },127  {128    "function_name": "sqlite3VtabEponymousTableClear",129    "function_signature": "void sqlite3VtabEponymousTableClear(sqlite3 *db, Module *pMod)",130    "test_filename": "tests_vtab_sqlite3VtabEponymousTableClear.c"131  },132  {133    "function_name": "sqlite3_vtab_on_conflict",134    "function_signature": "int sqlite3_vtab_on_conflict(sqlite3 *db)",135    "test_filename": "tests_vtab_sqlite3_vtab_on_conflict.c"136  },137  {138    "function_name": "sqlite3_vtab_config",139    "function_signature": "int sqlite3_vtab_config(sqlite3 *db, int op, ...)",140    "test_filename": "tests_vtab_sqlite3_vtab_config.c"141  }142]