mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-03-31 09:46:03 +00:00
* ios: UI to export/import/delete chat database * move files * ui for database migration * migration screen layout * ios: export archive and delete chat database * import archive * refactor, update texts * database migration (almost works) * fix missing import * delete legacy database * update migration errors
23 lines
504 B
C
23 lines
504 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 chat_ctrl chat_init(char *path);
|
|
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);
|