Mercurial > pidgin
diff libpurple/prpl.h @ 26594:4851546210a1
propagate from branch 'im.pidgin.pidgin' (head 0068cedd03804855a4ded8aeb153ccaffb8158bc)
to branch 'org.darkrain42.pidgin.disco' (head 7a48183ef659df8a9f45f8e6187fbb2abac019d1)
author | Paul Aurich <paul@darkrain42.org> |
---|---|
date | Sat, 11 Apr 2009 18:20:52 +0000 |
parents | df9042312063 b290c7b9fc73 |
children | 1de01f9594c8 |
line wrap: on
line diff
--- 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) \