about summary refs log tree commit diff stats
path: root/src/omemo
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-02-19 06:24:47 +0140
committerPaul Fariello <paul@fariello.eu>2019-04-08 11:50:12 +0200
commit4a5b672f95266990549ddc7eb2366a99cfddeefa (patch)
treee40106e6c58b82de1e5b23ab2b4a176a6f814026 /src/omemo
parent6b064cfde4456c25bd9dbcbfe0a79262ebcb3599 (diff)
downloadprofani-tty-4a5b672f95266990549ddc7eb2366a99cfddeefa.tar.gz
Link against libsignal-protocol-c
Diffstat (limited to 'src/omemo')
-rw-r--r--src/omemo/omemo.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/omemo/omemo.c b/src/omemo/omemo.c
new file mode 100644
index 00000000..a0da5639
--- /dev/null
+++ b/src/omemo/omemo.c
@@ -0,0 +1,10 @@
+#include <signal/signal_protocol.h>
+
+#include "config/account.h"
+
+void
+omemo_init(ProfAccount *account)
+{
+	signal_context *global_context;
+	signal_context_create(&global_context, NULL);
+}