aboutsummaryrefslogtreecommitdiffstats
path: root/irc.h
diff options
context:
space:
mode:
Diffstat (limited to 'irc.h')
-rw-r--r--irc.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/irc.h b/irc.h
index 9f4578bb..c6e78b41 100644
--- a/irc.h
+++ b/irc.h
@@ -161,6 +161,9 @@ struct irc_channel_funcs
gboolean (*part)( irc_channel_t *ic, const char *msg );
gboolean (*topic)( irc_channel_t *ic, const char *new );
gboolean (*invite)( irc_channel_t *ic, irc_user_t *iu );
+
+ gboolean (*_init)( irc_channel_t *ic );
+ gboolean (*_free)( irc_channel_t *ic );
};
typedef enum
@@ -176,6 +179,20 @@ typedef struct irc_channel_user
int flags;
} irc_channel_user_t;
+typedef enum
+{
+ IRC_CC_TYPE_DEFAULT,
+ IRC_CC_TYPE_REST,
+ IRC_CC_TYPE_GROUP,
+ IRC_CC_TYPE_ACCOUNT,
+} irc_control_channel_type_t;
+
+struct irc_control_channel
+{
+ irc_control_channel_type_t type;
+ struct bee_group *group;
+};
+
extern const struct bee_ui_funcs irc_ui_funcs;
/* irc.c */