Changes in irc.h [c54bb11:a9b1e0e]
Legend:
- Unmodified
- Added
- Removed
-
irc.h
rc54bb11 ra9b1e0e 49 49 USTATUS_SHUTDOWN = 8, /* Now used to indicate we're shutting down. 50 50 Currently just blocks irc_vawrite(). */ 51 USTATUS_CAP_PENDING = 16,52 USTATUS_SASL_PLAIN_PENDING = 32,53 51 54 52 /* Not really status stuff, but other kinds of flags: For slightly … … 67 65 } irc_status_t; 68 66 69 typedef enum {70 CAP_SASL = (1 << 0),71 CAP_MULTI_PREFIX = (1 << 1),72 CAP_EXTENDED_JOIN = (1 << 2),73 CAP_AWAY_NOTIFY = (1 << 3),74 CAP_USERHOST_IN_NAMES = (1 << 4),75 } irc_cap_flag_t;76 77 67 struct irc_user; 78 68 … … 112 102 113 103 struct bee *b; 114 guint32 caps;115 104 } irc_t; 116 105 … … 313 302 gboolean irc_channel_name_hint(irc_channel_t *ic, const char *name); 314 303 void irc_channel_update_ops(irc_channel_t *ic, char *value); 315 char irc_channel_user_get_prefix(irc_channel_user_t *icu);316 304 char *set_eval_irc_channel_ops(struct set *set, char *value); 317 305 gboolean irc_channel_wants_user(irc_channel_t *ic, irc_user_t *iu); … … 343 331 irc_channel_user_flags_t old_flags, irc_channel_user_flags_t new_flags); 344 332 void irc_send_invite(irc_user_t *iu, irc_channel_t *ic); 345 void irc_send_cap(irc_t *irc, char *subcommand, char *body);346 void irc_send_away_notify(irc_user_t *iu);347 333 348 334 /* irc_user.c */ … … 358 344 char *set_eval_timezone(struct set *set, char *value); 359 345 char *irc_format_timestamp(irc_t *irc, time_t msg_ts); 360 char *set_eval_self_messages(struct set *set, char *value);361 346 362 347 /* irc_im.c */ … … 364 349 void bee_irc_user_nick_reset(irc_user_t *iu); 365 350 366 /* irc_cap.c */367 void irc_cmd_cap(irc_t *irc, char **cmd);368 369 351 #endif
Note: See TracChangeset
for help on using the changeset viewer.