libgaim/protocols/simple/simple.c

changeset 14604
67a7c42a8654
parent 14370
12ef3d4096ee
child 14696
461fd462ff3e
equal deleted inserted replaced
14603:ad5c97d0d32b 14604:67a7c42a8654
517 517
518 gaim_circ_buffer_append(sip->txbuf, buf + ret, 518 gaim_circ_buffer_append(sip->txbuf, buf + ret,
519 writelen - ret); 519 writelen - ret);
520 } 520 }
521 } 521 }
522 }
523
524 static void simple_send_raw(GaimConnection *gc, const char *buf, int len)
525 {
526 sendout_pkt(gc, buf);
527 return len;
522 } 528 }
523 529
524 static void sendout_sipmsg(struct simple_account_data *sip, struct sipmsg *msg) { 530 static void sendout_sipmsg(struct simple_account_data *sip, struct sipmsg *msg) {
525 GSList *tmp = msg->headers; 531 GSList *tmp = msg->headers;
526 gchar *name; 532 gchar *name;
1790 NULL, /* can_receive_file */ 1796 NULL, /* can_receive_file */
1791 NULL, /* send_file */ 1797 NULL, /* send_file */
1792 NULL, /* new_xfer */ 1798 NULL, /* new_xfer */
1793 NULL, /* offline_message */ 1799 NULL, /* offline_message */
1794 NULL, /* whiteboard_prpl_ops */ 1800 NULL, /* whiteboard_prpl_ops */
1801 simple_send_raw, /* send_raw */
1795 }; 1802 };
1796 1803
1797 1804
1798 static GaimPluginInfo info = 1805 static GaimPluginInfo info =
1799 { 1806 {

mercurial