about summary refs log tree commit diff stats
path: root/src/config/account.h
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-05-11 19:32:07 +0100
committerJames Booth <boothj5@gmail.com>2014-05-11 19:32:07 +0100
commit9dda7036a9410a6d2124d3eb6c34eefb7a39a13a (patch)
tree314eef11f733a64b767250889b68359af62d5aa0 /src/config/account.h
parent6d955609c56a2a303eb141cbd7ba0cc2a364ef37 (diff)
downloadprofani-tty-9dda7036a9410a6d2124d3eb6c34eefb7a39a13a.tar.gz
Implemented per contact OTR policy setting
Diffstat (limited to 'src/config/account.h')
-rw-r--r--src/config/account.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/config/account.h b/src/config/account.h
index 549e9124..9943538f 100644
--- a/src/config/account.h
+++ b/src/config/account.h
@@ -43,6 +43,9 @@ typedef struct prof_account_t {
     gchar *muc_nick;
     gboolean enabled;
     gchar *otr_policy;
+    GList *otr_manual;
+    GList *otr_opportunistic;
+    GList *otr_always;
 } ProfAccount;
 
 ProfAccount* account_new(const gchar * const name, const gchar * const jid,
@@ -50,7 +53,9 @@ ProfAccount* account_new(const gchar * const name, const gchar * const jid,
     int port, const gchar * const resource, const gchar * const last_presence,
     const gchar * const login_presence, int priority_online, int priority_chat,
     int priority_away, int priority_xa, int priority_dnd,
-    const gchar * const muc_service, const gchar * const muc_nick, const gchar * const otr_policy);
+    const gchar * const muc_service, const gchar * const muc_nick,
+    const gchar * const otr_policy, GList *otr_manual, GList *otr_opportunistic,
+    GList *otr_always);
 
 char* account_create_full_jid(ProfAccount *account);