--- a/libpurple/prpl.h Sat Apr 11 17:41:18 2009 +0000 +++ b/libpurple/prpl.h Sat Apr 11 18:20:52 2009 +0000 @@ -70,6 +70,7 @@ #include "proxy.h" #include "plugin.h" #include "roomlist.h" +#include "disco.h" #include "status.h" #include "whiteboard.h" @@ -481,6 +482,21 @@ */ PurpleMediaCaps (*get_media_caps)(PurpleAccount *account, const char *who); + + /** + * Service discovery prpl callbacks + */ + PurpleDiscoList *(*disco_get_list)(PurpleConnection *gc); + + /** + * Cancel fetching service list + */ + void (*disco_cancel)(PurpleDiscoList *list); + + /** + * Register service + */ + int (*disco_service_register)(PurpleConnection *gc, PurpleDiscoService *service); }; #define PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(prpl, member) \