Changeset 9ac3ed1 for irc.h


Ignore:
Timestamp:
2010-05-09T17:20:51Z (11 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
7aadd71
Parents:
dcd16c5
Message:

First bits for different channel types.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • irc.h

    rdcd16c5 r9ac3ed1  
    162162        gboolean (*topic)( irc_channel_t *ic, const char *new );
    163163        gboolean (*invite)( irc_channel_t *ic, irc_user_t *iu );
     164       
     165        gboolean (*_init)( irc_channel_t *ic );
     166        gboolean (*_free)( irc_channel_t *ic );
    164167};
    165168
     
    176179        int flags;
    177180} irc_channel_user_t;
     181
     182typedef enum
     183{
     184        IRC_CC_TYPE_DEFAULT,
     185        IRC_CC_TYPE_REST,
     186        IRC_CC_TYPE_GROUP,
     187        IRC_CC_TYPE_ACCOUNT,
     188} irc_control_channel_type_t;
     189
     190struct irc_control_channel
     191{
     192        irc_control_channel_type_t type;
     193        struct bee_group *group;
     194};
    178195
    179196extern const struct bee_ui_funcs irc_ui_funcs;
Note: See TracChangeset for help on using the changeset viewer.