loadext.c File Reference

Go to the source code of this file.

Classes

struct  sqlite3ExtType

Defines

#define SQLITE_CORE   1
#define sqlite3_column_database_name   0
#define sqlite3_column_database_name16   0
#define sqlite3_column_table_name   0
#define sqlite3_column_table_name16   0
#define sqlite3_column_origin_name   0
#define sqlite3_column_origin_name16   0
#define sqlite3_table_column_metadata   0
#define wsdAutoextInit
#define wsdAutoext   sqlite3Autoext

Typedefs

typedef struct sqlite3ExtType sqlite3ExtType

Functions

static int sqlite3LoadExtension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
int sqlite3_load_extension (sqlite3 *db, const char *zFile, const char *zProc, char **pzErrMsg)
void sqlite3CloseExtensions (sqlite3 *db)
int sqlite3_enable_load_extension (sqlite3 *db, int onoff)
int sqlite3_auto_extension (void *xInit)
void sqlite3_reset_auto_extension (void)
int sqlite3AutoLoadExtensions (sqlite3 *db)

Variables

static const sqlite3_api_routines sqlite3Apis
static SQLITE_WSD struct
sqlite3ExtType 
sqlite3Autoext

Define Documentation

#define sqlite3_column_database_name   0

Definition at line 34 of file loadext.c.

#define sqlite3_column_database_name16   0

Definition at line 35 of file loadext.c.

#define sqlite3_column_origin_name   0

Definition at line 38 of file loadext.c.

#define sqlite3_column_origin_name16   0

Definition at line 39 of file loadext.c.

#define sqlite3_column_table_name   0

Definition at line 36 of file loadext.c.

#define sqlite3_column_table_name16   0

Definition at line 37 of file loadext.c.

#define sqlite3_table_column_metadata   0

Definition at line 40 of file loadext.c.

#define SQLITE_CORE   1

Definition at line 19 of file loadext.c.

#define wsdAutoext   sqlite3Autoext
#define wsdAutoextInit

Typedef Documentation

Definition at line 485 of file loadext.c.


Function Documentation

int sqlite3_auto_extension ( void *  xInit  ) 
int sqlite3_enable_load_extension ( sqlite3 db,
int  onoff 
)
int sqlite3_load_extension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
)

Definition at line 424 of file loadext.c.

References sqlite3::mutex, sqlite3_mutex_enter, sqlite3_mutex_leave, and sqlite3LoadExtension().

Referenced by do_meta_command(), and loadExt().

void sqlite3_reset_auto_extension ( void   ) 
int sqlite3AutoLoadExtensions ( sqlite3 db  ) 
void sqlite3CloseExtensions ( sqlite3 db  ) 
static int sqlite3LoadExtension ( sqlite3 db,
const char *  zFile,
const char *  zProc,
char **  pzErrMsg 
) [static]

Variable Documentation

Definition at line 125 of file loadext.c.

SQLITE_WSD struct sqlite3ExtType sqlite3Autoext [static]

ContextLogger2—ContextLogger2 Logger Daemon Internals—Generated on Mon May 2 13:50:00 2011 by Doxygen 1.6.1