Mercurial > pidgin.yaz
comparison libpurple/protocols/bonjour/bonjour.c @ 21437:db7fa42845f6
Patch from some Intel folks to implement file transfer in Bonjour using XEP-0096 and 0065. This hopefully will work with Gaijm (haven't yet tested) and, of course, between libpurple instances; it will not work with Adium or iChat.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Mon, 12 Nov 2007 03:37:14 +0000 |
parents | 38cc722159ff |
children | dc703f13449a |
comparison
equal
deleted
inserted
replaced
21436:f5b8e7cf870b | 21437:db7fa42845f6 |
---|---|
39 | 39 |
40 #include "bonjour.h" | 40 #include "bonjour.h" |
41 #include "mdns_common.h" | 41 #include "mdns_common.h" |
42 #include "jabber.h" | 42 #include "jabber.h" |
43 #include "buddy.h" | 43 #include "buddy.h" |
44 #include "bonjour_ft.h" | |
44 | 45 |
45 /* | 46 /* |
46 * TODO: Should implement an add_buddy callback that removes the buddy | 47 * TODO: Should implement an add_buddy callback that removes the buddy |
47 * from the local list. Bonjour manages buddies for you, and | 48 * from the local list. Bonjour manages buddies for you, and |
48 * adding someone locally by hand is stupid. Or, maybe even better, | 49 * adding someone locally by hand is stupid. Or, maybe even better, |
451 NULL, /* find_blist_chat */ | 452 NULL, /* find_blist_chat */ |
452 NULL, /* roomlist_get_list */ | 453 NULL, /* roomlist_get_list */ |
453 NULL, /* roomlist_cancel */ | 454 NULL, /* roomlist_cancel */ |
454 NULL, /* roomlist_expand_category */ | 455 NULL, /* roomlist_expand_category */ |
455 NULL, /* can_receive_file */ | 456 NULL, /* can_receive_file */ |
456 NULL, /* send_file */ | 457 bonjour_send_file, /* send_file */ |
457 NULL, /* new_xfer */ | 458 bonjour_new_xfer, /* new_xfer */ |
458 NULL, /* offline_message */ | 459 NULL, /* offline_message */ |
459 NULL, /* whiteboard_prpl_ops */ | 460 NULL, /* whiteboard_prpl_ops */ |
460 NULL, /* send_raw */ | 461 NULL, /* send_raw */ |
461 NULL, /* roomlist_room_serialize */ | 462 NULL, /* roomlist_room_serialize */ |
462 | 463 |