about summary refs log tree commit diff stats
path: root/src/xmpp/message.h
diff options
context:
space:
mode:
authorPaul Fariello <paul@fariello.eu>2019-06-16 22:55:07 +0200
committerPaul Fariello <paul@fariello.eu>2019-06-20 14:30:37 +0200
commit3bb3cc625d1714fd5e81ef0adba61a5172c3212d (patch)
tree1dea4bfe4da4f67d2ba03a70b9bab3ce455763d6 /src/xmpp/message.h
parenta650ecc67d700ae14a1bd05ca6196533829ba5ce (diff)
downloadprofani-tty-3bb3cc625d1714fd5e81ef0adba61a5172c3212d.tar.gz
Use flags in xmmp/message.c for encryption and trust
Diffstat (limited to 'src/xmpp/message.h')
-rw-r--r--src/xmpp/message.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/xmpp/message.h b/src/xmpp/message.h
index a42644fd..b73406a0 100644
--- a/src/xmpp/message.h
+++ b/src/xmpp/message.h
@@ -35,6 +35,11 @@
 #ifndef XMPP_MESSAGE_H
 #define XMPP_MESSAGE_H
 
+#define PROF_MSG_ENC_OTR     1
+#define PROF_MSG_ENC_PGP     2
+#define PROF_MSG_ENC_OMEMO   4
+#define PROF_MSG_TRUSTED     8
+
 typedef int(*ProfMessageCallback)(xmpp_stanza_t *const stanza, void *const userdata);
 typedef void(*ProfMessageFreeCallback)(void *userdata);