#include <stdlib.h>#include <stdio.h>#include <string.h>#include <assert.h>#include <sqlite3ext.h>#include <zlib.h>Go to the source code of this file.
Functions | |
| SQLITE_EXTENSION_INIT1 int | sqaux_encode_maxsize (int datasize) |
| int | sqlite3_encode_binary (const unsigned char *in, int n, unsigned char *out) |
| int | sqlite3_decode_binary (const unsigned char *in, unsigned char *out) |
| void | FnAdler32 (sqlite3_context *context, int argc, sqlite3_value **argv) |
| char * | UnzipString (const char *pData, long nSize, const char **pzErrMsg) |
| char * | ZipString (const char *pXml, long nXmlSize, const char **pzErrMsg) |
| void | FnZipString (sqlite3_context *context, int argc, sqlite3_value **argv) |
| void | FnUnzipString (sqlite3_context *context, int argc, sqlite3_value **argv) |
| int | sqlite3_extension_init (sqlite3 *db, char **pzErrMsg, const sqlite3_api_routines *pApi) |
| SQLITE_EXTENSION_INIT1 int sqaux_encode_maxsize | ( | int | datasize | ) |
| int sqlite3_encode_binary | ( | const unsigned char * | in, | |
| int | n, | |||
| unsigned char * | out | |||
| ) |
| int sqlite3_decode_binary | ( | const unsigned char * | in, | |
| unsigned char * | out | |||
| ) |
| void FnAdler32 | ( | sqlite3_context * | context, | |
| int | argc, | |||
| sqlite3_value ** | argv | |||
| ) |
| char* UnzipString | ( | const char * | pData, | |
| long | nSize, | |||
| const char ** | pzErrMsg | |||
| ) |
Definition at line 175 of file zlibext.c.
References sqlite3_decode_binary().
Referenced by FnUnzipString().
| char* ZipString | ( | const char * | pXml, | |
| long | nXmlSize, | |||
| const char ** | pzErrMsg | |||
| ) |
Definition at line 260 of file zlibext.c.
References sqaux_encode_maxsize(), and sqlite3_encode_binary().
Referenced by FnZipString().
| void FnZipString | ( | sqlite3_context * | context, | |
| int | argc, | |||
| sqlite3_value ** | argv | |||
| ) |
Definition at line 342 of file zlibext.c.
References ZipString().
Referenced by sqlite3_extension_init().
| void FnUnzipString | ( | sqlite3_context * | context, | |
| int | argc, | |||
| sqlite3_value ** | argv | |||
| ) |
Definition at line 383 of file zlibext.c.
References UnzipString().
Referenced by sqlite3_extension_init().
| int sqlite3_extension_init | ( | sqlite3 * | db, | |
| char ** | pzErrMsg, | |||
| const sqlite3_api_routines * | pApi | |||
| ) |
1.5.3