Added deallocation function for string prefs, added otr policy enum

This commit is contained in:
James Booth
2014-06-18 00:32:36 +01:00
parent 79ddf10484
commit 7344d3b898
11 changed files with 113 additions and 61 deletions

View File

@@ -28,6 +28,12 @@
#include "config/accounts.h"
typedef enum {
PROF_OTRPOLICY_MANUAL,
PROF_OTRPOLICY_OPPORTUNISTIC,
PROF_OTRPOLICY_ALWAYS
} prof_otrpolicy_t;
void otr_init_module(void);
OtrlUserState otr_userstate(void);
@@ -63,6 +69,6 @@ char * (*otr_decrypt_message)(const char * const from, const char * const messag
void (*otr_free_message)(char *message);
char * (*otr_get_policy)(const char * const recipient);
prof_otrpolicy_t (*otr_get_policy)(const char * const recipient);
#endif