aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/account.h
diff options
context:
space:
mode:
authordequis <dx@dxzone.com.ar>2014-07-24 00:51:07 -0300
committerdequis <dx@dxzone.com.ar>2014-07-24 00:51:07 -0300
commit1783ab6964c9a8ffc3488bb5243f0b15858f4e74 (patch)
tree9f87690db5ada596a220b6abdf09bc87e3c05dc2 /protocols/account.h
parent757515a793748591e8689167e153ea9ff26ff9e5 (diff)
Gadugadu local contact storage (ticket #917)
Patch originally by MichaƂ Siejak, adapted for 3.2.1
Diffstat (limited to 'protocols/account.h')
-rw-r--r--protocols/account.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/protocols/account.h b/protocols/account.h
index ed3ca531..14633fad 100644
--- a/protocols/account.h
+++ b/protocols/account.h
@@ -58,6 +58,8 @@ char *set_eval_account( set_t *set, char *value );
char *set_eval_account_reconnect_delay( set_t *set, char *value );
int account_reconnect_delay( account_t *a );
+int protocol_account_islocal( const char* protocol );
+
typedef enum
{
ACC_SET_OFFLINE_ONLY = 0x02, /* Allow changes only if the acct is offline. */
@@ -69,6 +71,7 @@ typedef enum
ACC_FLAG_AWAY_MESSAGE = 0x01, /* Supports away messages instead of just states. */
ACC_FLAG_STATUS_MESSAGE = 0x02, /* Supports status messages (without being away). */
ACC_FLAG_HANDLE_DOMAINS = 0x04, /* Contact handles need a domain portion. */
+ ACC_FLAG_LOCAL = 0x08, /* Contact list is local. */
} account_flag_t;
#endif