Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brodycj/sqlg-cipher-core-test-1
Adaptation of SQLiteGlue-core to use sqlcipher
https://github.com/brodycj/sqlg-cipher-core-test-1
Last synced: about 1 month ago
JSON representation
Adaptation of SQLiteGlue-core to use sqlcipher
- Host: GitHub
- URL: https://github.com/brodycj/sqlg-cipher-core-test-1
- Owner: brodycj
- License: unlicense
- Created: 2015-06-21T15:20:28.000Z (over 9 years ago)
- Default Branch: sqlc-cipher-test-1
- Last Pushed: 2015-06-21T15:21:24.000Z (over 9 years ago)
- Last Synced: 2024-07-31T00:18:03.528Z (5 months ago)
- Language: C
- Size: 1.65 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SQLiteGlue-core for sqlcipher
Low-level Android & other Java native glue interface to sqlcipher using Gluegen.
Unlicense (public domain).
Inculudes sqlcipher (BSD-style license) and part of TomCrypt (public domain)
## About
SQLiteGlue provides the basic low-level functions necessary to use sqlite from an Android or other
Java application over JNI (Java native interface). This is accomplished by using
[GlueGen](http://jogamp.org/gluegen/www/) around a simple wrapper C module.This project is meant to help build a higher-level sqlite interface library, with the JNI layer completely isolated and may be embedded with the package name changed.
**NOTE:** This project references the `gluegentools` & `sqlite-amalgamation` subproject, which are resolved by: $ `make init` (see [REF-BUILDING.md](REF-BUILDING.md)).
**WARNING:** The sqlite database and statement handles that are returned by the `SQLiteGlue` library functions are raw C pointer values (with `0x100000000` added). If someone uses a sqlite database or statement handle that is not valid, or no longer valid with the `SQLiteGlue` library the behavior is undefined (typically a crash that cannot be recovered). It is *NOT* recommended to use this API directly unless you really understand how this library works internally.
## Usage
See [REF-API-USAGE.md](REF-API-USAGE.md).
## Building
See [REF-BUILDING.md](REF-BUILDING.md).
# Automatic testing
Tested on Android in [sqlg / SQLiteGlue-test-Android](https://github.com/sqlg/SQLiteGlue-test-Android).