diff options
| author | 2018-07-27 23:54:15 -0400 | |
|---|---|---|
| committer | 2018-07-27 23:54:15 -0400 | |
| commit | 6d3d39356473078c6b47e03b8a7616e4b34de928 (patch) | |
| tree | fe5be2e6a08e4cfc73207746aba4c9fccfecfa10 /Plugins/DbSqliteWx/sqlite3secure.h | |
| parent | f98e49169a40876bcf1df832de6e908d1b350193 (diff) | |
| parent | feda8a7db8d1d7c5439aa8f8feef7cc0dd2b59a0 (diff) | |
Update upstream source from tag 'upstream/3.2.1+dfsg1'
Update to upstream version '3.2.1+dfsg1'
with Debian dir 5ea0333565de4dc898c062cc0ff4ba1153e2c1e4
Diffstat (limited to 'Plugins/DbSqliteWx/sqlite3secure.h')
| -rw-r--r-- | Plugins/DbSqliteWx/sqlite3secure.h | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/Plugins/DbSqliteWx/sqlite3secure.h b/Plugins/DbSqliteWx/sqlite3secure.h new file mode 100644 index 0000000..0288d64 --- /dev/null +++ b/Plugins/DbSqliteWx/sqlite3secure.h @@ -0,0 +1,44 @@ +/* +** Name: wx_sqlite3secure.h +** Purpose: Header file for SQLite codecs +** Author: Ulrich Telle +** Created: 2018-03-30 +** Copyright: (c) 2018 Ulrich Telle +** License: LGPL-3.0+ WITH WxWindows-exception-3.1 +*/ + +#ifndef SQLITE3SECURE_H_ +#define SQLITE3SECURE_H_ + +#include "wxsqlite3.h" + +// Define Windows specific SQLite API functions (not defined in wxsqlite3.h) +#if SQLITE_VERSION_NUMBER >= 3007014 +#if SQLITE_OS_WIN == 1 +#ifdef __cplusplus +extern "C" { +#endif +SQLITE_API int wx_sqlite3_win32_set_directory(DWORD type, LPCWSTR zValue); +#ifdef __cplusplus +} +#endif +#endif +#endif + +#ifdef SQLITE_HAS_CODEC + +// Define functions for the configuration of the wxSQLite3 encryption extension +#ifdef __cplusplus +extern "C" { +#endif +SQLITE_API int wxwx_sqlite3_config(wx_sqlite3* db, const char* paramName, int newValue); +SQLITE_API int wxwx_sqlite3_config_cipher(wx_sqlite3* db, const char* cipherName, const char* paramName, int newValue); +#ifdef __cplusplus +} + +#endif + +#endif + +#endif + |
