libgaim/protocols/jabber/jabber.c

changeset 14635
68dfef995f7c
parent 14604
67a7c42a8654
child 14659
a21ef7c7748b
equal deleted inserted replaced
14634:23dd4c5cd4f2 14635:68dfef995f7c
326 data + ret, len - ret); 326 data + ret, len - ret);
327 } 327 }
328 return; 328 return;
329 } 329 }
330 330
331 int jabber_prpl_send_raw(GaimConnection *gc, const char *buf, int len) 331 static int jabber_prpl_send_raw(GaimConnection *gc, const char *buf, int len)
332 { 332 {
333 JabberStream *js = (JabberStream*)gc->proto_data; 333 JabberStream *js = (JabberStream*)gc->proto_data;
334 jabber_send_raw(js, buf, len); 334 jabber_send_raw(js, buf, len);
335 return len; 335 return len;
336 } 336 }
1889 NULL, /* can_receive_file */ 1889 NULL, /* can_receive_file */
1890 jabber_si_xfer_send, /* send_file */ 1890 jabber_si_xfer_send, /* send_file */
1891 jabber_si_new_xfer, /* new_xfer */ 1891 jabber_si_new_xfer, /* new_xfer */
1892 jabber_offline_message, /* offline_message */ 1892 jabber_offline_message, /* offline_message */
1893 NULL, /* whiteboard_prpl_ops */ 1893 NULL, /* whiteboard_prpl_ops */
1894 jabber_send_raw, /* send_raw */ 1894 jabber_prpl_send_raw, /* send_raw */
1895 }; 1895 };
1896 1896
1897 static gboolean load_plugin(GaimPlugin *plugin) 1897 static gboolean load_plugin(GaimPlugin *plugin)
1898 { 1898 {
1899 gaim_signal_register(plugin, "jabber-receiving-xmlnode", 1899 gaim_signal_register(plugin, "jabber-receiving-xmlnode",

mercurial