Lines Matching defs:sqlite3
302 #include "sqlite3.h"
673 ** the Schema for the TEMP databaes (sqlite3.aDb[1]) which is free-standing.
683 ** holding a mutex on the sqlite3 connection pointer that owns the Btree.
800 struct sqlite3 {
846 int (*xWalCallback)(void *, sqlite3 *, const char *, int);
849 void(*xCollNeeded)(void*,sqlite3*,int eTextRep,const char*);
850 void(*xCollNeeded16)(void*,sqlite3*,int eTextRep,const void*);
891 ** mutex, not by sqlite3.mutex. They are used by code in notify.c.
900 sqlite3 *pBlockingConnection; /* Connection that caused SQLITE_LOCKED */
901 sqlite3 *pUnlockConnection; /* Connection to watch for unlock */
904 sqlite3 *pNextBlocked; /* Next in list of all blocked connections */
914 ** Possible values for the sqlite3.flags.
945 ** Bits of the sqlite3.flags field that are used by the
1059 ** sqlite3.pSavepoint. The first element in the list is the most recently
1080 ** instance of the following structure, stored in the sqlite3.aModule
1193 ** structure for each database connection (sqlite3*) that uses the shared
1218 ** another linked list headed by the sqlite3.pDisconnect member of the
1219 ** corresponding sqlite3 structure. They are then deleted/xDisconnected
1220 ** next time a statement is prepared using said sqlite3*. This is done
1221 ** to avoid deadlock issues involving multiple sqlite3.mutex mutexes.
1223 ** explanation as to why it is safe to add an entry to an sqlite3.pDisconnect
1224 ** list without holding the corresponding sqlite3.mutex mutex.
1231 sqlite3 *db; /* Database connection associated with this table */
1405 sqlite3 *db; /* The database connection */
2106 int iDb; /* Index in sqlite3.aDb[] of database holding pTab */
2169 sqlite3 *db; /* The main database structure */
2289 * 1. In the "trigHash" hash table (part of the sqlite3* that represents the
2392 sqlite3 *db; /* Optional database for lookaside. Can be NULL */
2408 sqlite3 *db; /* The database being initialized */
2568 void *sqlite3DbMallocZero(sqlite3*, int);
2569 void *sqlite3DbMallocRaw(sqlite3*, int);
2570 char *sqlite3DbStrDup(sqlite3*,const char*);
2571 char *sqlite3DbStrNDup(sqlite3*,const char*, int);
2573 void *sqlite3DbReallocOrFree(sqlite3 *, void *, int);
2574 void *sqlite3DbRealloc(sqlite3 *, void *, int);
2575 void sqlite3DbFree(sqlite3*, void*);
2577 int sqlite3DbMallocSize(sqlite3*, void*);
2634 char *sqlite3MPrintf(sqlite3*,const char*, ...);
2635 char *sqlite3VMPrintf(sqlite3*,const char*, va_list);
2636 char *sqlite3MAppendf(sqlite3*,char*,const char*,...);
2643 void sqlite3SetString(char **, sqlite3*, const char*, ...);
2653 Expr *sqlite3ExprAlloc(sqlite3*,int,const Token*,int);
2654 Expr *sqlite3Expr(sqlite3*,int,const char*);
2655 void sqlite3ExprAttachSubtrees(sqlite3*,Expr*,Expr*,Expr*);
2657 Expr *sqlite3ExprAnd(sqlite3*,Expr*, Expr*);
2660 void sqlite3ExprDelete(sqlite3*, Expr*);
2664 void sqlite3ExprListDelete(sqlite3*, ExprList*);
2665 int sqlite3Init(sqlite3*, char**);
2668 void sqlite3ResetInternalSchema(sqlite3*, int);
2670 void sqlite3CommitInternalChanges(sqlite3*);
2691 RowSet *sqlite3RowSetInit(sqlite3*, void*, unsigned int);
2706 void sqlite3DeleteTable(sqlite3*, Table*);
2715 void *sqlite3ArrayAllocate(sqlite3*,void*,int,int,int*,int*,int*);
2716 IdList *sqlite3IdListAppend(sqlite3*, IdList*, Token*);
2718 SrcList *sqlite3SrcListEnlarge(sqlite3*, SrcList*, int, int);
2719 SrcList *sqlite3SrcListAppend(sqlite3*, SrcList*, Token*, Token*);
2726 void sqlite3IdListDelete(sqlite3*, IdList*);
2727 void sqlite3SrcListDelete(sqlite3*, SrcList*);
2734 void sqlite3SelectDelete(sqlite3*, Select*);
2763 Table *sqlite3FindTable(sqlite3*,const char*, const char*);
2765 Index *sqlite3FindIndex(sqlite3*,const char*, const char*);
2766 void sqlite3UnlinkAndDeleteTable(sqlite3*,int,const char*);
2767 void sqlite3UnlinkAndDeleteIndex(sqlite3*,int,const char*);
2769 int sqlite3RunVacuum(char**, sqlite3*);
2770 char *sqlite3NameFromToken(sqlite3*, Token*);
2779 void sqlite3RollbackAll(sqlite3*);
2786 void sqlite3CloseSavepoints(sqlite3 *);
2806 Expr *sqlite3ExprDup(sqlite3*,Expr*,int);
2807 ExprList *sqlite3ExprListDup(sqlite3*,ExprList*,int);
2808 SrcList *sqlite3SrcListDup(sqlite3*,SrcList*,int);
2809 IdList *sqlite3IdListDup(sqlite3*,IdList*);
2810 Select *sqlite3SelectDup(sqlite3*,Select*,int);
2812 FuncDef *sqlite3FindFunction(sqlite3*,const char*,int,int,u8,int);
2813 void sqlite3RegisterBuiltinFunctions(sqlite3*);
2816 int sqlite3SafetyCheckOk(sqlite3*);
2817 int sqlite3SafetyCheckSickOrOk(sqlite3*);
2836 void sqlite3DeleteTriggerStep(sqlite3*, TriggerStep*);
2837 TriggerStep *sqlite3TriggerSelectStep(sqlite3*,Select*);
2838 TriggerStep *sqlite3TriggerInsertStep(sqlite3*,Token*, IdList*,
2840 TriggerStep *sqlite3TriggerUpdateStep(sqlite3*,Token*,ExprList*, Expr*, u8);
2841 TriggerStep *sqlite3TriggerDeleteStep(sqlite3*,Token*, Expr*);
2842 void sqlite3DeleteTrigger(sqlite3*, Trigger*);
2843 void sqlite3UnlinkAndDeleteTrigger(sqlite3*,int,const char*);
2930 void sqlite3Error(sqlite3*, int, const char*,...);
2931 void *sqlite3HexToBlob(sqlite3*, const char *z, int n);
2935 CollSeq *sqlite3FindCollSeq(sqlite3*,u8 enc, const char*,int);
2942 void sqlite3VdbeSetChanges(sqlite3 *, int);
2953 sqlite3_value *sqlite3ValueNew(sqlite3 *);
2954 char *sqlite3Utf16to8(sqlite3 *, const void*, int, u8);
2956 char *sqlite3Utf8to16(sqlite3 *, u8, char *, int, int *);
2958 int sqlite3ValueFromExpr(sqlite3 *, Expr *, u8, u8, sqlite3_value **);
2971 void sqlite3RootPageMoved(sqlite3*, int, int, int);
2977 void sqlite3ExpirePreparedStatements(sqlite3*);
2986 CollSeq *sqlite3GetCollSeq(sqlite3*, u8, CollSeq *, const char*);
2990 int sqlite3FindDb(sqlite3*, Token*);
2991 int sqlite3FindDbName(sqlite3 *, const char *);
2992 int sqlite3AnalysisLoad(sqlite3*,int iDB);
2993 void sqlite3DeleteIndexSamples(sqlite3*,Index*);
2995 void sqlite3RegisterLikeFunctions(sqlite3*, int);
2996 int sqlite3IsLikeFunction(sqlite3*,Expr*,int*,char*);
2999 Schema *sqlite3SchemaGet(sqlite3 *, Btree *);
3000 int sqlite3SchemaToIndex(sqlite3 *db, Schema *);
3002 int sqlite3CreateFunc(sqlite3 *, const char *, int, int, void *,
3007 int sqlite3ApiExit(sqlite3 *db, int);
3015 Expr *sqlite3CreateColumnExpr(sqlite3 *, SrcList *, int, int);
3030 void sqlite3AutoLoadExtensions(sqlite3*);
3032 void sqlite3CloseExtensions(sqlite3*);
3057 void sqlite3VtabClear(sqlite3 *db, Table*);
3058 int sqlite3VtabSync(sqlite3 *db, char **);
3059 int sqlite3VtabRollback(sqlite3 *db);
3060 int sqlite3VtabCommit(sqlite3 *db);
3063 void sqlite3VtabUnlockList(sqlite3*);
3071 int sqlite3VtabCallCreate(sqlite3*, int, const char *, char **);
3073 int sqlite3VtabCallDestroy(sqlite3*, int, const char *);
3074 int sqlite3VtabBegin(sqlite3 *, VTable *);
3075 FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
3082 int sqlite3TempInMemory(const sqlite3*);
3083 VTable *sqlite3GetVTable(sqlite3*, Table*);
3085 int sqlite3Checkpoint(sqlite3*, int, int, int*, int*);
3086 int sqlite3WalDefaultHook(void*,sqlite3*,const char*,int);
3110 void sqlite3FkDelete(sqlite3 *, Table*);
3166 void sqlite3ConnectionBlocked(sqlite3 *, sqlite3 *);
3167 void sqlite3ConnectionUnlocked(sqlite3 *db);
3168 void sqlite3ConnectionClosed(sqlite3 *db);