Eneboo - Documentación para desarrolladores
'defines' | 'typedefs' | Funciones | Variables
Referencia del Archivo src/sqlite/sqlite.h
#include <stdarg.h>

Ir al código fuente de este archivo.

'defines'

#define SQLITE_VERSION   "2.8.13"
#define SQLITE_UTF8   1
#define SQLITE_OK   0
#define SQLITE_ERROR   1
#define SQLITE_INTERNAL   2
#define SQLITE_PERM   3
#define SQLITE_ABORT   4
#define SQLITE_BUSY   5
#define SQLITE_LOCKED   6
#define SQLITE_NOMEM   7
#define SQLITE_READONLY   8
#define SQLITE_INTERRUPT   9
#define SQLITE_IOERR   10
#define SQLITE_CORRUPT   11
#define SQLITE_NOTFOUND   12
#define SQLITE_FULL   13
#define SQLITE_CANTOPEN   14
#define SQLITE_PROTOCOL   15
#define SQLITE_EMPTY   16
#define SQLITE_SCHEMA   17
#define SQLITE_TOOBIG   18
#define SQLITE_CONSTRAINT   19
#define SQLITE_MISMATCH   20
#define SQLITE_MISUSE   21
#define SQLITE_NOLFS   22
#define SQLITE_AUTH   23
#define SQLITE_FORMAT   24
#define SQLITE_RANGE   25
#define SQLITE_NOTADB   26
#define SQLITE_ROW   100
#define SQLITE_DONE   101
#define sqliteErrStr   sqlite_error_string
#define SQLITE_NUMERIC   (-1)
#define SQLITE_TEXT   (-2)
#define SQLITE_ARGS   (-3)
#define SQLITE_COPY   0
#define SQLITE_CREATE_INDEX   1
#define SQLITE_CREATE_TABLE   2
#define SQLITE_CREATE_TEMP_INDEX   3
#define SQLITE_CREATE_TEMP_TABLE   4
#define SQLITE_CREATE_TEMP_TRIGGER   5
#define SQLITE_CREATE_TEMP_VIEW   6
#define SQLITE_CREATE_TRIGGER   7
#define SQLITE_CREATE_VIEW   8
#define SQLITE_DELETE   9
#define SQLITE_DROP_INDEX   10
#define SQLITE_DROP_TABLE   11
#define SQLITE_DROP_TEMP_INDEX   12
#define SQLITE_DROP_TEMP_TABLE   13
#define SQLITE_DROP_TEMP_TRIGGER   14
#define SQLITE_DROP_TEMP_VIEW   15
#define SQLITE_DROP_TRIGGER   16
#define SQLITE_DROP_VIEW   17
#define SQLITE_INSERT   18
#define SQLITE_PRAGMA   19
#define SQLITE_READ   20
#define SQLITE_SELECT   21
#define SQLITE_TRANSACTION   22
#define SQLITE_UPDATE   23
#define SQLITE_ATTACH   24
#define SQLITE_DETACH   25
#define SQLITE_DENY   1
#define SQLITE_IGNORE   2

'typedefs'

typedef struct sqlite sqlite
typedef int(* sqlite_callback )(void *, int, char **, char **)
typedef struct sqlite_func sqlite_func
typedef struct sqlite_vm sqlite_vm

Funciones

sqlitesqlite_open (const char *filename, int mode, char **errmsg)
void sqlite_close (sqlite *)
int sqlite_exec (sqlite *, const char *sql, sqlite_callback, void *, char **errmsg)
int sqlite_last_insert_rowid (sqlite *)
int sqlite_changes (sqlite *)
int sqlite_last_statement_changes (sqlite *)
const char * sqlite_error_string (int)
void sqlite_interrupt (sqlite *)
int sqlite_complete (const char *sql)
void sqlite_busy_handler (sqlite *, int(*)(void *, const char *, int), void *)
void sqlite_busy_timeout (sqlite *, int ms)
int sqlite_get_table (sqlite *, const char *sql, char ***resultp, int *nrow, int *ncolumn, char **errmsg)
void sqlite_free_table (char **result)
int sqlite_exec_printf (sqlite *, const char *sqlFormat, sqlite_callback, void *, char **errmsg,...)
int sqlite_exec_vprintf (sqlite *, const char *sqlFormat, sqlite_callback, void *, char **errmsg, va_list ap)
int sqlite_get_table_printf (sqlite *, const char *sqlFormat, char ***resultp, int *nrow, int *ncolumn, char **errmsg,...)
int sqlite_get_table_vprintf (sqlite *, const char *sqlFormat, char ***resultp, int *nrow, int *ncolumn, char **errmsg, va_list ap)
char * sqlite_mprintf (const char *,...)
char * sqlite_vmprintf (const char *, va_list)
void sqlite_freemem (void *p)
const char * sqlite_libversion (void)
const char * sqlite_libencoding (void)
int sqlite_create_function (sqlite *, const char *zName, int nArg, void(*xFunc)(sqlite_func *, int, const char **), void *pUserData)
int sqlite_create_aggregate (sqlite *, const char *zName, int nArg, void(*xStep)(sqlite_func *, int, const char **), void(*xFinalize)(sqlite_func *), void *pUserData)
int sqlite_function_type (sqlite *db, const char *zName, int datatype)
char * sqlite_set_result_string (sqlite_func *, const char *, int)
void sqlite_set_result_int (sqlite_func *, int)
void sqlite_set_result_double (sqlite_func *, double)
void sqlite_set_result_error (sqlite_func *, const char *, int)
void * sqlite_user_data (sqlite_func *)
void * sqlite_aggregate_context (sqlite_func *, int nBytes)
int sqlite_aggregate_count (sqlite_func *)
int sqlite_set_authorizer (sqlite *, int(*xAuth)(void *, int, const char *, const char *, const char *, const char *), void *pUserData)
void * sqlite_trace (sqlite *, void(*xTrace)(void *, const char *), void *)
int sqlite_compile (sqlite *db, const char *zSql, const char **pzTail, sqlite_vm **ppVm, char **pzErrmsg)
int sqlite_step (sqlite_vm *pVm, int *pN, const char ***pazValue, const char ***pazColName)
int sqlite_finalize (sqlite_vm *, char **pzErrMsg)
int sqlite_reset (sqlite_vm *, char **pzErrMsg)
int sqlite_bind (sqlite_vm *, int idx, const char *value, int len, int copy)
void sqlite_progress_handler (sqlite *, int, int(*)(void *), void *)
void * sqlite_commit_hook (sqlite *, int(*)(void *), void *)
sqlitesqlite_open_encrypted (const char *zFilename, const void *pKey, int nKey, int *pErrcode, char **pzErrmsg)
int sqlite_rekey (sqlite *db, const void *pKey, int nKey)

Variables

const char sqlite_version []
const char sqlite_encoding []

Documentación de los 'defines'

#define SQLITE_ABORT   4
#define SQLITE_ARGS   (-3)
#define SQLITE_ATTACH   24
#define SQLITE_AUTH   23
#define SQLITE_BUSY   5
#define SQLITE_CANTOPEN   14
#define SQLITE_CONSTRAINT   19
#define SQLITE_COPY   0
#define SQLITE_CORRUPT   11
#define SQLITE_CREATE_INDEX   1
#define SQLITE_CREATE_TABLE   2
#define SQLITE_CREATE_TEMP_INDEX   3
#define SQLITE_CREATE_TEMP_TABLE   4
#define SQLITE_CREATE_TEMP_TRIGGER   5
#define SQLITE_CREATE_TEMP_VIEW   6
#define SQLITE_CREATE_TRIGGER   7
#define SQLITE_CREATE_VIEW   8
#define SQLITE_DELETE   9
#define SQLITE_DENY   1
#define SQLITE_DETACH   25
#define SQLITE_DONE   101
#define SQLITE_DROP_INDEX   10
#define SQLITE_DROP_TABLE   11
#define SQLITE_DROP_TEMP_INDEX   12
#define SQLITE_DROP_TEMP_TABLE   13
#define SQLITE_DROP_TEMP_TRIGGER   14
#define SQLITE_DROP_TEMP_VIEW   15
#define SQLITE_DROP_TRIGGER   16
#define SQLITE_DROP_VIEW   17
#define SQLITE_EMPTY   16
#define SQLITE_ERROR   1
#define SQLITE_FORMAT   24
#define SQLITE_FULL   13
#define SQLITE_IGNORE   2
#define SQLITE_INSERT   18
#define SQLITE_INTERNAL   2
#define SQLITE_INTERRUPT   9
#define SQLITE_IOERR   10
#define SQLITE_LOCKED   6
#define SQLITE_MISMATCH   20
#define SQLITE_MISUSE   21
#define SQLITE_NOLFS   22
#define SQLITE_NOMEM   7
#define SQLITE_NOTADB   26
#define SQLITE_NOTFOUND   12
#define SQLITE_NUMERIC   (-1)
#define SQLITE_OK   0
#define SQLITE_PERM   3
#define SQLITE_PRAGMA   19
#define SQLITE_PROTOCOL   15
#define SQLITE_RANGE   25
#define SQLITE_READ   20
#define SQLITE_READONLY   8
#define SQLITE_ROW   100
#define SQLITE_SCHEMA   17
#define SQLITE_SELECT   21
#define SQLITE_TEXT   (-2)
#define SQLITE_TOOBIG   18
#define SQLITE_TRANSACTION   22
#define SQLITE_UPDATE   23
#define SQLITE_UTF8   1
#define SQLITE_VERSION   "2.8.13"
#define sqliteErrStr   sqlite_error_string

Documentación de los 'typedefs'

typedef struct sqlite sqlite
typedef int(* sqlite_callback)(void *, int, char **, char **)
typedef struct sqlite_func sqlite_func
typedef struct sqlite_vm sqlite_vm

Documentación de las funciones

void* sqlite_aggregate_context ( sqlite_func ,
int  nBytes 
)
int sqlite_aggregate_count ( sqlite_func )
int sqlite_bind ( sqlite_vm ,
int  idx,
const char *  value,
int  len,
int  copy 
)
void sqlite_busy_handler ( sqlite ,
int(*)(void *, const char *, int ,
void *   
)
void sqlite_busy_timeout ( sqlite ,
int  ms 
)
int sqlite_changes ( sqlite )
void sqlite_close ( sqlite )
void* sqlite_commit_hook ( sqlite ,
int(*)(void *)  ,
void *   
)
int sqlite_compile ( sqlite db,
const char *  zSql,
const char **  pzTail,
sqlite_vm **  ppVm,
char **  pzErrmsg 
)
int sqlite_complete ( const char *  sql)
int sqlite_create_aggregate ( sqlite ,
const char *  zName,
int  nArg,
void(*)(sqlite_func *, int, const char **)  xStep,
void(*)(sqlite_func *)  xFinalize,
void *  pUserData 
)
int sqlite_create_function ( sqlite ,
const char *  zName,
int  nArg,
void(*)(sqlite_func *, int, const char **)  xFunc,
void *  pUserData 
)
const char* sqlite_error_string ( int  )
int sqlite_exec ( sqlite ,
const char *  sql,
sqlite_callback  ,
void *  ,
char **  errmsg 
)
int sqlite_exec_printf ( sqlite ,
const char *  sqlFormat,
sqlite_callback  ,
void *  ,
char **  errmsg,
  ... 
)
int sqlite_exec_vprintf ( sqlite ,
const char *  sqlFormat,
sqlite_callback  ,
void *  ,
char **  errmsg,
va_list  ap 
)
int sqlite_finalize ( sqlite_vm ,
char **  pzErrMsg 
)
void sqlite_free_table ( char **  result)
void sqlite_freemem ( void *  p)
int sqlite_function_type ( sqlite db,
const char *  zName,
int  datatype 
)
int sqlite_get_table ( sqlite ,
const char *  sql,
char ***  resultp,
int nrow,
int ncolumn,
char **  errmsg 
)
int sqlite_get_table_printf ( sqlite ,
const char *  sqlFormat,
char ***  resultp,
int nrow,
int ncolumn,
char **  errmsg,
  ... 
)
int sqlite_get_table_vprintf ( sqlite ,
const char *  sqlFormat,
char ***  resultp,
int nrow,
int ncolumn,
char **  errmsg,
va_list  ap 
)
void sqlite_interrupt ( sqlite )
int sqlite_last_insert_rowid ( sqlite )
int sqlite_last_statement_changes ( sqlite )
const char* sqlite_libencoding ( void  )
const char* sqlite_libversion ( void  )
char* sqlite_mprintf ( const char *  ,
  ... 
)
sqlite* sqlite_open ( const char *  filename,
int  mode,
char **  errmsg 
)
sqlite* sqlite_open_encrypted ( const char *  zFilename,
const void *  pKey,
int  nKey,
int pErrcode,
char **  pzErrmsg 
)
void sqlite_progress_handler ( sqlite ,
int  ,
int(*)(void *)  ,
void *   
)
int sqlite_rekey ( sqlite db,
const void *  pKey,
int  nKey 
)
int sqlite_reset ( sqlite_vm ,
char **  pzErrMsg 
)
int sqlite_set_authorizer ( sqlite ,
int(*)(void *, int, const char *, const char *, const char *, const char *)  xAuth,
void *  pUserData 
)
void sqlite_set_result_double ( sqlite_func ,
double   
)
void sqlite_set_result_error ( sqlite_func ,
const char *  ,
int   
)
void sqlite_set_result_int ( sqlite_func ,
int   
)
char* sqlite_set_result_string ( sqlite_func ,
const char *  ,
int   
)
int sqlite_step ( sqlite_vm pVm,
int pN,
const char ***  pazValue,
const char ***  pazColName 
)
void* sqlite_trace ( sqlite ,
void(*)(void *, const char *)  xTrace,
void *   
)
void* sqlite_user_data ( sqlite_func )
char* sqlite_vmprintf ( const char *  ,
va_list   
)

Documentación de las variables

const char sqlite_encoding[]
const char sqlite_version[]
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'