Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protocols/account.h

    r93e0901 r3ac6d9f  
    5858int account_reconnect_delay(account_t *a);
    5959
     60int protocol_account_islocal(const char* protocol);
     61
    6062typedef enum {
    6163        ACC_SET_OFFLINE_ONLY = 0x02,    /* Allow changes only if the acct is offline. */
    6264        ACC_SET_ONLINE_ONLY = 0x04,     /* Allow changes only if the acct is online. */
     65        ACC_SET_LOCKABLE = 0x08         /* Setting cannot be changed if the account is locked down */
    6366} account_set_flag_t;
    6467
     
    6770        ACC_FLAG_STATUS_MESSAGE = 0x02, /* Supports status messages (without being away). */
    6871        ACC_FLAG_HANDLE_DOMAINS = 0x04, /* Contact handles need a domain portion. */
    69         ACC_FLAG_LOCAL_CONTACTS = 0x08, /* Contact list is local. */
     72        ACC_FLAG_LOCAL = 0x08,          /* Contact list is local. */
     73        ACC_FLAG_LOCKED = 0x10,         /* Account is locked (cannot be deleted, certain settings can't changed) */
    7074} account_flag_t;
    7175
Note: See TracChangeset for help on using the changeset viewer.