Mercurial > pidgin
diff src/protocols/irc/irc.h @ 12143:cbebda5f019c
[gaim-migrate @ 14444]
SF Patch #1360399 from Evan Schoenberg (evands)
"I discussed this previously with Mark and he said it'd be fine.
This factors out the part of the send_file function which creates a new
GaimXfer into a separate prpl function, new_xfer. It's called in each of the
existing send_file functions.
This is needed so that another client (okay, Adium) can get a new
outgoing GaimXfer from a prpl without depending upon the specific ft.c
logic of send_file; previously I was adding a duplicate method to each prpl
and then calling it directly."
I fixed a couple small bugs in this. Otherwise, it looks good, and seems like a reasonable libgaim request.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Sat, 19 Nov 2005 00:26:12 +0000 |
| parents | 39734dd473e0 |
| children | 5ae6ab7846a5 |
line wrap: on
line diff
--- a/src/protocols/irc/irc.h Sat Nov 19 00:16:45 2005 +0000 +++ b/src/protocols/irc/irc.h Sat Nov 19 00:26:12 2005 +0000 @@ -25,6 +25,7 @@ #include <glib.h> +#include "ft.h" #include "roomlist.h" #include "sslconn.h" @@ -168,6 +169,7 @@ int irc_cmd_wallops(struct irc_conn *irc, const char *cmd, const char *target, const char **args); int irc_cmd_whois(struct irc_conn *irc, const char *cmd, const char *target, const char **args); +GaimXfer *irc_dccsend_new_xfer(GaimConnection *gc, const char *who); void irc_dccsend_send_file(GaimConnection *gc, const char *who, const char *file); void irc_dccsend_recv(struct irc_conn *irc, const char *from, const char *msg); #endif /* _GAIM_IRC_H */
