mirror of
https://github.com/status-im/sqlcipher.git
synced 2026-08-31 14:31:11 +00:00
add PRAGMA cipher_memory_security to control settings; lock/unlock memory in manager
This commit is contained in:
+8
-6
@@ -75,15 +75,17 @@ typedef struct {
|
||||
} sqlcipher_provider;
|
||||
|
||||
/* utility functions */
|
||||
void sqlcipher_free(void *ptr, int sz);
|
||||
void* sqlcipher_malloc(int sz);
|
||||
void* sqlcipher_memset(void *v, unsigned char value, int len);
|
||||
int sqlcipher_ismemset(const void *v, unsigned char value, int len);
|
||||
int sqlcipher_memcmp(const void *v0, const void *v1, int len);
|
||||
void sqlcipher_free(void *, int);
|
||||
void* sqlcipher_malloc(int);
|
||||
void sqlcipher_mlock(void *, int);
|
||||
void sqlcipher_munlock(void *, int);
|
||||
void* sqlcipher_memset(void *, unsigned char, int);
|
||||
int sqlcipher_ismemset(const void *, unsigned char, int);
|
||||
int sqlcipher_memcmp(const void *, const void *, int);
|
||||
void sqlcipher_free(void *, int);
|
||||
|
||||
/* provider interfaces */
|
||||
int sqlcipher_register_provider(sqlcipher_provider *p);
|
||||
int sqlcipher_register_provider(sqlcipher_provider *);
|
||||
sqlcipher_provider* sqlcipher_get_provider();
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user