Mercurial > pidgin
comparison libpurple/protocols/irc/irc.h @ 31703:54a700cedb38
Fix races between irc_send_raw() and normal prpl-internal sends.
Fixes #14263
author | Ethan Blanton <elb@pidgin.im> |
---|---|
date | Sat, 25 Jun 2011 02:42:08 +0000 |
parents | d72d728226dc |
children | a78523019e7a 665388a0f573 |
comparison
equal
deleted
inserted
replaced
31702:47c604efed32 | 31703:54a700cedb38 |
---|---|
104 }; | 104 }; |
105 | 105 |
106 typedef int (*IRCCmdCallback) (struct irc_conn *irc, const char *cmd, const char *target, const char **args); | 106 typedef int (*IRCCmdCallback) (struct irc_conn *irc, const char *cmd, const char *target, const char **args); |
107 | 107 |
108 int irc_send(struct irc_conn *irc, const char *buf); | 108 int irc_send(struct irc_conn *irc, const char *buf); |
109 int irc_send_len(struct irc_conn *irc, const char *buf, int len); | |
109 gboolean irc_blist_timeout(struct irc_conn *irc); | 110 gboolean irc_blist_timeout(struct irc_conn *irc); |
110 gboolean irc_who_channel_timeout(struct irc_conn *irc); | 111 gboolean irc_who_channel_timeout(struct irc_conn *irc); |
111 void irc_buddy_query(struct irc_conn *irc); | 112 void irc_buddy_query(struct irc_conn *irc); |
112 | 113 |
113 char *irc_escape_privmsg(const char *text, gssize length); | 114 char *irc_escape_privmsg(const char *text, gssize length); |