summaryrefslogtreecommitdiff
path: root/libpurple/prpl.h
diff options
context:
space:
mode:
authorMichael Ruprecht <maiku@pidgin.im>2009-10-20 20:06:25 +0000
committerMichael Ruprecht <maiku@pidgin.im>2009-10-20 20:06:25 +0000
commit19457208c7106e71ad19ed34093658ed3b8a93cb (patch)
tree5f102c486ea5a875cf9a79cd7a5d840ad43c49c6 /libpurple/prpl.h
parent7a56176a049ca60b2468f9ec1bb6e76fcf735fcb (diff)
downloadpidgin-19457208c7106e71ad19ed34093658ed3b8a93cb.tar.gz
Add the purple_media_got_media_caps function in order to signal when a prpl
has retrieved a contact's media capabilities.
Diffstat (limited to 'libpurple/prpl.h')
-rw-r--r--libpurple/prpl.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/libpurple/prpl.h b/libpurple/prpl.h
index 5d46075269..1d0485161c 100644
--- a/libpurple/prpl.h
+++ b/libpurple/prpl.h
@@ -815,6 +815,17 @@ gboolean purple_prpl_initiate_media(PurpleAccount *account,
const char *who,
PurpleMediaSessionType type);
+/**
+ * Signals that the prpl received capabilities for the given contact.
+ *
+ * This function is intended to be used only by prpls.
+ *
+ * @param account The account the user is on.
+ * @param who The name of the contact for which capabilities have been received.
+ * @since 2.7.0
+ */
+void purple_prpl_got_media_caps(PurpleAccount *account, const char *who);
+
/*@}*/
/**************************************************************************/