Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • account.h

    r823de9d rd1ad6f0  
    3737        int auto_reconnect_delay;
    3838        int reconnect;
     39        int flags;
    3940       
    4041        set_t *set;
     
    5657int account_reconnect_delay( account_t *a );
    5758
    58 #define ACC_SET_NOSAVE          0x01
    59 #define ACC_SET_OFFLINE_ONLY    0x02
    60 #define ACC_SET_ONLINE_ONLY     0x04
     59typedef enum
     60{
     61        ACC_SET_NOSAVE = 0x01,          /* Don't save this setting (i.e. stored elsewhere). */
     62        ACC_SET_OFFLINE_ONLY = 0x02,    /* Allow changes only if the acct is offline. */
     63        ACC_SET_ONLINE_ONLY = 0x04,     /* Allow changes only if the acct is online. */
     64} account_set_flag_t;
     65
     66typedef enum
     67{
     68        ACC_FLAG_AWAY_MESSAGE = 0x01,   /* Supports away messages instead of just states. */
     69        ACC_FLAG_STATUS_MESSAGE = 0x02, /* Supports status messages (without being away). */
     70} account_flag_t;
    6171
    6272#endif
Note: See TracChangeset for help on using the changeset viewer.