diff options
author | Sven Moritz Hallberg <pesco@khjk.org> | 2010-06-03 12:41:03 +0200 |
---|---|---|
committer | Sven Moritz Hallberg <pesco@khjk.org> | 2010-06-03 12:41:03 +0200 |
commit | 5f8ab6a9adf09ea7c07f728227bdb6d3953588f1 (patch) | |
tree | 1b708f624d5ee996217055aec11490f06024efca /account.h | |
parent | 3f81999c20852f14a5fb27a6ef6c5ea44db61a4d (diff) | |
parent | f9928cb319c2879a56b7280f09723b26035982d0 (diff) |
merge in bitlbee 1.2.5
Diffstat (limited to 'account.h')
-rw-r--r-- | account.h | 16 |
1 files changed, 13 insertions, 3 deletions
@@ -36,6 +36,7 @@ typedef struct account int auto_connect; int auto_reconnect_delay; int reconnect; + int flags; set_t *set; GHashTable *nicks; @@ -55,8 +56,17 @@ 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 ); -#define ACC_SET_NOSAVE 0x01 -#define ACC_SET_OFFLINE_ONLY 0x02 -#define ACC_SET_ONLINE_ONLY 0x04 +typedef enum +{ + ACC_SET_NOSAVE = 0x01, /* Don't save this setting (i.e. stored elsewhere). */ + ACC_SET_OFFLINE_ONLY = 0x02, /* Allow changes only if the acct is offline. */ + ACC_SET_ONLINE_ONLY = 0x04, /* Allow changes only if the acct is online. */ +} account_set_flag_t; + +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). */ +} account_flag_t; #endif |