Mercurial > pidgin
diff libgaim/prpl.h @ 14542:8ed6ef220b2d
[gaim-migrate @ 17263]
send_raw() prpl function allows plugins with knowledge of a protocol
to send its own custom packets. Not practical for all protocols,
but should be super useful on Jabber when coupled with Nathan's signals.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Tue, 12 Sep 2006 21:57:15 +0000 |
parents | 60b1bc8dbf37 |
children | 28c7e23bcc7e |
line wrap: on
line diff
--- a/libgaim/prpl.h Tue Sep 12 20:11:56 2006 +0000 +++ b/libgaim/prpl.h Tue Sep 12 21:57:15 2006 +0000 @@ -298,6 +298,9 @@ gboolean (*offline_message)(const GaimBuddy *buddy); GaimWhiteboardPrplOps *whiteboard_prpl_ops; + + /* For use in plugins that may understand the underlying protocol */ + int (*send_raw)(GaimConnection *gc, const char *buf, int len); }; #define GAIM_IS_PROTOCOL_PLUGIN(plugin) \