engine/sqlite/src/sqlite3ext.h
author Lars Persson <lars.persson@embeddev.se>
Wed, 31 Mar 2010 18:09:02 +0200
changeset 64 b52f6033af15
parent 2 29cda98b007e
permissions -rw-r--r--
Add so image conversion is done in feedinfo if image already exist. Check in feedengine if image exist from previous database(files might exist, even though the db is corrupt.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     1
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     2
** 2006 June 7
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     3
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     4
** The author disclaims copyright to this source code.  In place of
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     5
** a legal notice, here is a blessing:
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     6
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     7
**    May you do good and not evil.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     8
**    May you find forgiveness for yourself and forgive others.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
     9
**    May you share freely, never taking more than you give.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    10
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    11
*************************************************************************
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    12
** This header file defines the SQLite interface for use by
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    13
** shared libraries that want to be imported as extensions into
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    14
** an SQLite instance.  Shared libraries that intend to be loaded
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    15
** as extensions by SQLite should #include this file instead of 
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    16
** sqlite3.h.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    17
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    18
** @(#) $Id: sqlite3ext.h 1282 2008-11-13 09:31:33Z LarsPson $
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    19
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    20
#ifndef _SQLITE3EXT_H_
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    21
#define _SQLITE3EXT_H_
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    22
#include "sqlite3.h"
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    23
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    24
typedef struct sqlite3_api_routines sqlite3_api_routines;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    25
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    26
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    27
** The following structure hold pointers to all of the SQLite API
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    28
** routines.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    29
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    30
** WARNING:  In order to maintain backwards compatibility, add new
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    31
** interfaces to the end of this structure only.  If you insert new
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    32
** interfaces in the middle of this structure, then older different
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    33
** versions of SQLite will not be able to load each others shared
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    34
** libraries!
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    35
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    36
struct sqlite3_api_routines {
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    37
  void * (*aggregate_context)(sqlite3_context*,int nBytes);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    38
  int  (*aggregate_count)(sqlite3_context*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    39
  int  (*bind_blob)(sqlite3_stmt*,int,const void*,int n,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    40
  int  (*bind_double)(sqlite3_stmt*,int,double);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    41
  int  (*bind_int)(sqlite3_stmt*,int,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    42
  int  (*bind_int64)(sqlite3_stmt*,int,sqlite_int64);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    43
  int  (*bind_null)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    44
  int  (*bind_parameter_count)(sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    45
  int  (*bind_parameter_index)(sqlite3_stmt*,const char*zName);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    46
  const char * (*bind_parameter_name)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    47
  int  (*bind_text)(sqlite3_stmt*,int,const char*,int n,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    48
  int  (*bind_text16)(sqlite3_stmt*,int,const void*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    49
  int  (*bind_value)(sqlite3_stmt*,int,const sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    50
  int  (*busy_handler)(sqlite3*,int(*)(void*,int),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    51
  int  (*busy_timeout)(sqlite3*,int ms);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    52
  int  (*changes)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    53
  int  (*close)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    54
  int  (*collation_needed)(sqlite3*,void*,void(*)(void*,sqlite3*,int eTextRep,const char*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    55
  int  (*collation_needed16)(sqlite3*,void*,void(*)(void*,sqlite3*,int eTextRep,const void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    56
  const void * (*column_blob)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    57
  int  (*column_bytes)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    58
  int  (*column_bytes16)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    59
  int  (*column_count)(sqlite3_stmt*pStmt);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    60
  const char * (*column_database_name)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    61
  const void * (*column_database_name16)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    62
  const char * (*column_decltype)(sqlite3_stmt*,int i);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    63
  const void * (*column_decltype16)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    64
  double  (*column_double)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    65
  int  (*column_int)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    66
  sqlite_int64  (*column_int64)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    67
  const char * (*column_name)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    68
  const void * (*column_name16)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    69
  const char * (*column_origin_name)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    70
  const void * (*column_origin_name16)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    71
  const char * (*column_table_name)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    72
  const void * (*column_table_name16)(sqlite3_stmt*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    73
  const unsigned char * (*column_text)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    74
  const void * (*column_text16)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    75
  int  (*column_type)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    76
  sqlite3_value* (*column_value)(sqlite3_stmt*,int iCol);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    77
  void * (*commit_hook)(sqlite3*,int(*)(void*),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    78
  int  (*complete)(const char*sql);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    79
  int  (*complete16)(const void*sql);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    80
  int  (*create_collation)(sqlite3*,const char*,int,void*,int(*)(void*,int,const void*,int,const void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    81
  int  (*create_collation16)(sqlite3*,const char*,int,void*,int(*)(void*,int,const void*,int,const void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    82
  int  (*create_function)(sqlite3*,const char*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqlite3_value**),void (*xStep)(sqlite3_context*,int,sqlite3_value**),void (*xFinal)(sqlite3_context*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    83
  int  (*create_function16)(sqlite3*,const void*,int,int,void*,void (*xFunc)(sqlite3_context*,int,sqlite3_value**),void (*xStep)(sqlite3_context*,int,sqlite3_value**),void (*xFinal)(sqlite3_context*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    84
  int (*create_module)(sqlite3*,const char*,const sqlite3_module*,void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    85
  int  (*data_count)(sqlite3_stmt*pStmt);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    86
  sqlite3 * (*db_handle)(sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    87
  int (*declare_vtab)(sqlite3*,const char*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    88
  int  (*enable_shared_cache)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    89
  int  (*errcode)(sqlite3*db);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    90
  const char * (*errmsg)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    91
  const void * (*errmsg16)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    92
  int  (*exec)(sqlite3*,const char*,sqlite3_callback,void*,char**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    93
  int  (*expired)(sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    94
  int  (*finalize)(sqlite3_stmt*pStmt);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    95
  void  (*free)(void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    96
  void  (*free_table)(char**result);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    97
  int  (*get_autocommit)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    98
  void * (*get_auxdata)(sqlite3_context*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
    99
  int  (*get_table)(sqlite3*,const char*,char***,int*,int*,char**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   100
  int  (*global_recover)(void);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   101
  void  (*interruptx)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   102
  sqlite_int64  (*last_insert_rowid)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   103
  const char * (*libversion)(void);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   104
  int  (*libversion_number)(void);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   105
  void *(*malloc)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   106
  char * (*mprintf)(const char*,...);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   107
  int  (*open)(const char*,sqlite3**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   108
  int  (*open16)(const void*,sqlite3**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   109
  int  (*prepare)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   110
  int  (*prepare16)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   111
  void * (*profile)(sqlite3*,void(*)(void*,const char*,sqlite_uint64),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   112
  void  (*progress_handler)(sqlite3*,int,int(*)(void*),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   113
  void *(*realloc)(void*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   114
  int  (*reset)(sqlite3_stmt*pStmt);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   115
  void  (*result_blob)(sqlite3_context*,const void*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   116
  void  (*result_double)(sqlite3_context*,double);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   117
  void  (*result_error)(sqlite3_context*,const char*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   118
  void  (*result_error16)(sqlite3_context*,const void*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   119
  void  (*result_int)(sqlite3_context*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   120
  void  (*result_int64)(sqlite3_context*,sqlite_int64);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   121
  void  (*result_null)(sqlite3_context*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   122
  void  (*result_text)(sqlite3_context*,const char*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   123
  void  (*result_text16)(sqlite3_context*,const void*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   124
  void  (*result_text16be)(sqlite3_context*,const void*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   125
  void  (*result_text16le)(sqlite3_context*,const void*,int,void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   126
  void  (*result_value)(sqlite3_context*,sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   127
  void * (*rollback_hook)(sqlite3*,void(*)(void*),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   128
  int  (*set_authorizer)(sqlite3*,int(*)(void*,int,const char*,const char*,const char*,const char*),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   129
  void  (*set_auxdata)(sqlite3_context*,int,void*,void (*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   130
  char * (*snprintf)(int,char*,const char*,...);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   131
  int  (*step)(sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   132
  int  (*table_column_metadata)(sqlite3*,const char*,const char*,const char*,char const**,char const**,int*,int*,int*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   133
  void  (*thread_cleanup)(void);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   134
  int  (*total_changes)(sqlite3*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   135
  void * (*trace)(sqlite3*,void(*xTrace)(void*,const char*),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   136
  int  (*transfer_bindings)(sqlite3_stmt*,sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   137
  void * (*update_hook)(sqlite3*,void(*)(void*,int ,char const*,char const*,sqlite_int64),void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   138
  void * (*user_data)(sqlite3_context*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   139
  const void * (*value_blob)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   140
  int  (*value_bytes)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   141
  int  (*value_bytes16)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   142
  double  (*value_double)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   143
  int  (*value_int)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   144
  sqlite_int64  (*value_int64)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   145
  int  (*value_numeric_type)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   146
  const unsigned char * (*value_text)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   147
  const void * (*value_text16)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   148
  const void * (*value_text16be)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   149
  const void * (*value_text16le)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   150
  int  (*value_type)(sqlite3_value*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   151
  char *(*vmprintf)(const char*,va_list);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   152
  /* Added ??? */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   153
  int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   154
  /* Added by 3.3.13 */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   155
  int (*prepare_v2)(sqlite3*,const char*,int,sqlite3_stmt**,const char**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   156
  int (*prepare16_v2)(sqlite3*,const void*,int,sqlite3_stmt**,const void**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   157
  int (*clear_bindings)(sqlite3_stmt*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   158
  /* Added by 3.4.1 */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   159
  int (*create_module_v2)(sqlite3*,const char*,const sqlite3_module*,void*,void (*xDestroy)(void *));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   160
  /* Added by 3.5.0 */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   161
  int (*bind_zeroblob)(sqlite3_stmt*,int,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   162
  int (*blob_bytes)(sqlite3_blob*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   163
  int (*blob_close)(sqlite3_blob*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   164
  int (*blob_open)(sqlite3*,const char*,const char*,const char*,sqlite3_int64,int,sqlite3_blob**);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   165
  int (*blob_read)(sqlite3_blob*,void*,int,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   166
  int (*blob_write)(sqlite3_blob*,const void*,int,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   167
  int (*create_collation_v2)(sqlite3*,const char*,int,void*,int(*)(void*,int,const void*,int,const void*),void(*)(void*));
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   168
  int (*file_control)(sqlite3*,const char*,int,void*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   169
  sqlite3_int64 (*memory_highwater)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   170
  sqlite3_int64 (*memory_used)(void);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   171
  sqlite3_mutex *(*mutex_alloc)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   172
  void (*mutex_enter)(sqlite3_mutex*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   173
  void (*mutex_free)(sqlite3_mutex*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   174
  void (*mutex_leave)(sqlite3_mutex*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   175
  int (*mutex_try)(sqlite3_mutex*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   176
  int (*open_v2)(const char*,sqlite3**,int,const char*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   177
  int (*release_memory)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   178
  void (*result_error_nomem)(sqlite3_context*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   179
  void (*result_error_toobig)(sqlite3_context*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   180
  int (*sleep)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   181
  void (*soft_heap_limit)(int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   182
  sqlite3_vfs *(*vfs_find)(const char*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   183
  int (*vfs_register)(sqlite3_vfs*,int);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   184
  int (*vfs_unregister)(sqlite3_vfs*);
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   185
};
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   186
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   187
/*
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   188
** The following macros redefine the API routines so that they are
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   189
** redirected throught the global sqlite3_api structure.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   190
**
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   191
** This header file is also used by the loadext.c source file
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   192
** (part of the main SQLite library - not an extension) so that
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   193
** it can get access to the sqlite3_api_routines structure
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   194
** definition.  But the main library does not want to redefine
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   195
** the API.  So the redefinition macros are only valid if the
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   196
** SQLITE_CORE macros is undefined.
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   197
*/
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   198
#ifndef SQLITE_CORE
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   199
#define sqlite3_aggregate_context      sqlite3_api->aggregate_context
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   200
#define sqlite3_aggregate_count        sqlite3_api->aggregate_count
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   201
#define sqlite3_bind_blob              sqlite3_api->bind_blob
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   202
#define sqlite3_bind_double            sqlite3_api->bind_double
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   203
#define sqlite3_bind_int               sqlite3_api->bind_int
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   204
#define sqlite3_bind_int64             sqlite3_api->bind_int64
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   205
#define sqlite3_bind_null              sqlite3_api->bind_null
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   206
#define sqlite3_bind_parameter_count   sqlite3_api->bind_parameter_count
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   207
#define sqlite3_bind_parameter_index   sqlite3_api->bind_parameter_index
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   208
#define sqlite3_bind_parameter_name    sqlite3_api->bind_parameter_name
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   209
#define sqlite3_bind_text              sqlite3_api->bind_text
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   210
#define sqlite3_bind_text16            sqlite3_api->bind_text16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   211
#define sqlite3_bind_value             sqlite3_api->bind_value
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   212
#define sqlite3_busy_handler           sqlite3_api->busy_handler
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   213
#define sqlite3_busy_timeout           sqlite3_api->busy_timeout
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   214
#define sqlite3_changes                sqlite3_api->changes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   215
#define sqlite3_close                  sqlite3_api->close
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   216
#define sqlite3_collation_needed       sqlite3_api->collation_needed
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   217
#define sqlite3_collation_needed16     sqlite3_api->collation_needed16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   218
#define sqlite3_column_blob            sqlite3_api->column_blob
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   219
#define sqlite3_column_bytes           sqlite3_api->column_bytes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   220
#define sqlite3_column_bytes16         sqlite3_api->column_bytes16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   221
#define sqlite3_column_count           sqlite3_api->column_count
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   222
#define sqlite3_column_database_name   sqlite3_api->column_database_name
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   223
#define sqlite3_column_database_name16 sqlite3_api->column_database_name16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   224
#define sqlite3_column_decltype        sqlite3_api->column_decltype
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   225
#define sqlite3_column_decltype16      sqlite3_api->column_decltype16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   226
#define sqlite3_column_double          sqlite3_api->column_double
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   227
#define sqlite3_column_int             sqlite3_api->column_int
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   228
#define sqlite3_column_int64           sqlite3_api->column_int64
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   229
#define sqlite3_column_name            sqlite3_api->column_name
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   230
#define sqlite3_column_name16          sqlite3_api->column_name16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   231
#define sqlite3_column_origin_name     sqlite3_api->column_origin_name
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   232
#define sqlite3_column_origin_name16   sqlite3_api->column_origin_name16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   233
#define sqlite3_column_table_name      sqlite3_api->column_table_name
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   234
#define sqlite3_column_table_name16    sqlite3_api->column_table_name16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   235
#define sqlite3_column_text            sqlite3_api->column_text
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   236
#define sqlite3_column_text16          sqlite3_api->column_text16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   237
#define sqlite3_column_type            sqlite3_api->column_type
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   238
#define sqlite3_column_value           sqlite3_api->column_value
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   239
#define sqlite3_commit_hook            sqlite3_api->commit_hook
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   240
#define sqlite3_complete               sqlite3_api->complete
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   241
#define sqlite3_complete16             sqlite3_api->complete16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   242
#define sqlite3_create_collation       sqlite3_api->create_collation
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   243
#define sqlite3_create_collation16     sqlite3_api->create_collation16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   244
#define sqlite3_create_function        sqlite3_api->create_function
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   245
#define sqlite3_create_function16      sqlite3_api->create_function16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   246
#define sqlite3_create_module          sqlite3_api->create_module
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   247
#define sqlite3_create_module_v2       sqlite3_api->create_module_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   248
#define sqlite3_data_count             sqlite3_api->data_count
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   249
#define sqlite3_db_handle              sqlite3_api->db_handle
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   250
#define sqlite3_declare_vtab           sqlite3_api->declare_vtab
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   251
#define sqlite3_enable_shared_cache    sqlite3_api->enable_shared_cache
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   252
#define sqlite3_errcode                sqlite3_api->errcode
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   253
#define sqlite3_errmsg                 sqlite3_api->errmsg
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   254
#define sqlite3_errmsg16               sqlite3_api->errmsg16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   255
#define sqlite3_exec                   sqlite3_api->exec
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   256
#define sqlite3_expired                sqlite3_api->expired
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   257
#define sqlite3_finalize               sqlite3_api->finalize
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   258
#define sqlite3_free                   sqlite3_api->free
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   259
#define sqlite3_free_table             sqlite3_api->free_table
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   260
#define sqlite3_get_autocommit         sqlite3_api->get_autocommit
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   261
#define sqlite3_get_auxdata            sqlite3_api->get_auxdata
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   262
#define sqlite3_get_table              sqlite3_api->get_table
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   263
#define sqlite3_global_recover         sqlite3_api->global_recover
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   264
#define sqlite3_interrupt              sqlite3_api->interruptx
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   265
#define sqlite3_last_insert_rowid      sqlite3_api->last_insert_rowid
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   266
#define sqlite3_libversion             sqlite3_api->libversion
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   267
#define sqlite3_libversion_number      sqlite3_api->libversion_number
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   268
#define sqlite3_malloc                 sqlite3_api->malloc
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   269
#define sqlite3_mprintf                sqlite3_api->mprintf
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   270
#define sqlite3_open                   sqlite3_api->open
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   271
#define sqlite3_open16                 sqlite3_api->open16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   272
#define sqlite3_prepare                sqlite3_api->prepare
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   273
#define sqlite3_prepare16              sqlite3_api->prepare16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   274
#define sqlite3_prepare_v2             sqlite3_api->prepare_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   275
#define sqlite3_prepare16_v2           sqlite3_api->prepare16_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   276
#define sqlite3_profile                sqlite3_api->profile
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   277
#define sqlite3_progress_handler       sqlite3_api->progress_handler
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   278
#define sqlite3_realloc                sqlite3_api->realloc
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   279
#define sqlite3_reset                  sqlite3_api->reset
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   280
#define sqlite3_result_blob            sqlite3_api->result_blob
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   281
#define sqlite3_result_double          sqlite3_api->result_double
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   282
#define sqlite3_result_error           sqlite3_api->result_error
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   283
#define sqlite3_result_error16         sqlite3_api->result_error16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   284
#define sqlite3_result_int             sqlite3_api->result_int
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   285
#define sqlite3_result_int64           sqlite3_api->result_int64
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   286
#define sqlite3_result_null            sqlite3_api->result_null
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   287
#define sqlite3_result_text            sqlite3_api->result_text
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   288
#define sqlite3_result_text16          sqlite3_api->result_text16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   289
#define sqlite3_result_text16be        sqlite3_api->result_text16be
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   290
#define sqlite3_result_text16le        sqlite3_api->result_text16le
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   291
#define sqlite3_result_value           sqlite3_api->result_value
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   292
#define sqlite3_rollback_hook          sqlite3_api->rollback_hook
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   293
#define sqlite3_set_authorizer         sqlite3_api->set_authorizer
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   294
#define sqlite3_set_auxdata            sqlite3_api->set_auxdata
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   295
#define sqlite3_snprintf               sqlite3_api->snprintf
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   296
#define sqlite3_step                   sqlite3_api->step
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   297
#define sqlite3_table_column_metadata  sqlite3_api->table_column_metadata
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   298
#define sqlite3_thread_cleanup         sqlite3_api->thread_cleanup
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   299
#define sqlite3_total_changes          sqlite3_api->total_changes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   300
#define sqlite3_trace                  sqlite3_api->trace
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   301
#define sqlite3_transfer_bindings      sqlite3_api->transfer_bindings
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   302
#define sqlite3_update_hook            sqlite3_api->update_hook
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   303
#define sqlite3_user_data              sqlite3_api->user_data
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   304
#define sqlite3_value_blob             sqlite3_api->value_blob
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   305
#define sqlite3_value_bytes            sqlite3_api->value_bytes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   306
#define sqlite3_value_bytes16          sqlite3_api->value_bytes16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   307
#define sqlite3_value_double           sqlite3_api->value_double
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   308
#define sqlite3_value_int              sqlite3_api->value_int
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   309
#define sqlite3_value_int64            sqlite3_api->value_int64
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   310
#define sqlite3_value_numeric_type     sqlite3_api->value_numeric_type
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   311
#define sqlite3_value_text             sqlite3_api->value_text
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   312
#define sqlite3_value_text16           sqlite3_api->value_text16
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   313
#define sqlite3_value_text16be         sqlite3_api->value_text16be
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   314
#define sqlite3_value_text16le         sqlite3_api->value_text16le
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   315
#define sqlite3_value_type             sqlite3_api->value_type
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   316
#define sqlite3_vmprintf               sqlite3_api->vmprintf
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   317
#define sqlite3_overload_function      sqlite3_api->overload_function
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   318
#define sqlite3_prepare_v2             sqlite3_api->prepare_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   319
#define sqlite3_prepare16_v2           sqlite3_api->prepare16_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   320
#define sqlite3_clear_bindings         sqlite3_api->clear_bindings
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   321
#define sqlite3_bind_zeroblob          sqlite3_api->bind_zeroblob
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   322
#define sqlite3_blob_bytes             sqlite3_api->blob_bytes
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   323
#define sqlite3_blob_close             sqlite3_api->blob_close
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   324
#define sqlite3_blob_open              sqlite3_api->blob_open
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   325
#define sqlite3_blob_read              sqlite3_api->blob_read
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   326
#define sqlite3_blob_write             sqlite3_api->blob_write
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   327
#define sqlite3_create_collation_v2    sqlite3_api->create_collation_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   328
#define sqlite3_file_control           sqlite3_api->file_control
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   329
#define sqlite3_memory_highwater       sqlite3_api->memory_highwater
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   330
#define sqlite3_memory_used            sqlite3_api->memory_used
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   331
#define sqlite3_mutex_alloc            sqlite3_api->mutex_alloc
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   332
#define sqlite3_mutex_enter            sqlite3_api->mutex_enter
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   333
#define sqlite3_mutex_free             sqlite3_api->mutex_free
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   334
#define sqlite3_mutex_leave            sqlite3_api->mutex_leave
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   335
#define sqlite3_mutex_try              sqlite3_api->mutex_try
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   336
#define sqlite3_open_v2                sqlite3_api->open_v2
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   337
#define sqlite3_release_memory         sqlite3_api->release_memory
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   338
#define sqlite3_result_error_nomem     sqlite3_api->result_error_nomem
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   339
#define sqlite3_result_error_toobig    sqlite3_api->result_error_toobig
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   340
#define sqlite3_sleep                  sqlite3_api->sleep
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   341
#define sqlite3_soft_heap_limit        sqlite3_api->soft_heap_limit
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   342
#define sqlite3_vfs_find               sqlite3_api->vfs_find
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   343
#define sqlite3_vfs_register           sqlite3_api->vfs_register
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   344
#define sqlite3_vfs_unregister         sqlite3_api->vfs_unregister
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   345
#endif /* SQLITE_CORE */
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   346
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   347
#define SQLITE_EXTENSION_INIT1     const sqlite3_api_routines *sqlite3_api;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   348
#define SQLITE_EXTENSION_INIT2(v)  sqlite3_api = v;
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   349
29cda98b007e Initial import of Podcatcher from the Bergamot project
skip
parents:
diff changeset
   350
#endif /* _SQLITE3EXT_H_ */