summaryrefslogtreecommitdiff
path: root/MirOTR/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'MirOTR/options.h')
-rw-r--r--MirOTR/options.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/MirOTR/options.h b/MirOTR/options.h
index 2fdbd49..7a2ecec 100644
--- a/MirOTR/options.h
+++ b/MirOTR/options.h
@@ -44,7 +44,15 @@ extern Options options;
#define CONTACT_DEFAULT_POLICY 0xFFFF
#include <map>
-typedef std::map<HANDLE, OtrlPolicy> ContactPolicyMap;
+enum HTMLConvSetting {
+ HTMLCONV_DISABLE,
+ HTMLCONV_ENABLE
+};
+struct CONTACT_DATA {
+ OtrlPolicy policy;
+ int htmlconv;
+};
+typedef std::map<HANDLE, CONTACT_DATA> ContactPolicyMap;
typedef enum {FPM_VERIFY, FPM_NOTRUST, FPM_DELETE } FPModify;
typedef std::map<Fingerprint*, FPModify> FPModifyMap;