* use sqlcipher build, hardcoded encryption key * UI for db encryption * database passphrase UI * show orange icon when database is not encrypted * call encrypt * more ios ux * basic UX for passphrase complete * with animation Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com> * passphrase complexity, fixes * fix moving entry field Co-authored-by: JRoberts <8711996+jr-simplex@users.noreply.github.com>
24 lines
572 B
C
24 lines
572 B
C
//
|
|
// SimpleX.h
|
|
// SimpleX
|
|
//
|
|
// Created by Evgeny on 30/05/2022.
|
|
// Copyright © 2022 SimpleX Chat. All rights reserved.
|
|
//
|
|
|
|
#ifndef SimpleX_h
|
|
#define SimpleX_h
|
|
|
|
#endif /* SimpleX_h */
|
|
|
|
extern void hs_init(int argc, char **argv[]);
|
|
|
|
typedef void* chat_ctrl;
|
|
|
|
extern char *chat_migrate_db(char *path, char *key);
|
|
extern chat_ctrl chat_init_key(char *path, char *key);
|
|
extern char *chat_send_cmd(chat_ctrl ctl, char *cmd);
|
|
extern char *chat_recv_msg(chat_ctrl ctl);
|
|
extern char *chat_recv_msg_wait(chat_ctrl ctl, int wait);
|
|
extern char *chat_parse_markdown(char *str);
|