- Timestamp:
- 2010-07-04T20:40:15Z (14 years ago)
- Branches:
- master
- Children:
- 69b896b, 6c2404e
- Parents:
- f537044
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
irc.h
rf537044 r006a84f 206 206 extern const struct bee_ui_funcs irc_ui_funcs; 207 207 208 typedef enum 209 { 210 IRC_CDU_SILENT, 211 IRC_CDU_PART, 212 IRC_CDU_KICK, 213 } irc_channel_del_user_type_t; 214 208 215 /* irc.c */ 209 216 extern GSList *irc_connection_list; … … 233 240 void irc_channel_free_soon( irc_channel_t *ic ); 234 241 int irc_channel_add_user( irc_channel_t *ic, irc_user_t *iu ); 235 int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu, gboolean silent, const char *msg );242 int irc_channel_del_user( irc_channel_t *ic, irc_user_t *iu, irc_channel_del_user_type_t type, const char *msg ); 236 243 irc_channel_user_t *irc_channel_has_user( irc_channel_t *ic, irc_user_t *iu ); 237 244 int irc_channel_set_topic( irc_channel_t *ic, const char *topic, const irc_user_t *who ); … … 256 263 void irc_send_part( irc_channel_t *ic, irc_user_t *iu, const char *reason ); 257 264 void irc_send_quit( irc_user_t *iu, const char *reason ); 265 void irc_send_kick( irc_channel_t *ic, irc_user_t *iu, irc_user_t *kicker, const char *reason ); 258 266 void irc_send_names( irc_channel_t *ic ); 259 267 void irc_send_topic( irc_channel_t *ic, gboolean topic_change );
Note: See TracChangeset
for help on using the changeset viewer.