about summary refs log tree commit diff stats
path: root/src/otr/otr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/otr/otr.c')
-rw-r--r--src/otr/otr.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/otr/otr.c b/src/otr/otr.c
index cd3388d2..de1d6959 100644
--- a/src/otr/otr.c
+++ b/src/otr/otr.c
@@ -43,6 +43,24 @@ static char *jid;
 static gboolean data_loaded;
 static GHashTable *smp_initiators;
 
+OtrlUserState
+otr_userstate(void)
+{
+    return user_state;
+}
+
+OtrlMessageAppOps *
+otr_messageops(void)
+{
+    return &ops;
+}
+
+GHashTable *
+otr_smpinitators(void)
+{
+    return smp_initiators;
+}
+
 // ops callbacks
 static OtrlPolicy
 cb_policy(void *opdata, ConnContext *context)