--- a/libpurple/mediamanager.h Sun Aug 17 01:06:27 2008 +0000 +++ b/libpurple/mediamanager.h Sun Aug 17 07:55:38 2008 +0000 @@ -102,6 +102,25 @@ const char *conference_type, const char *remote_user); +/** + * Gets all of the media sessions. + * + * @param manager The media manager to get all of the sessions from. + * + * @return A list of all the media sessions. + */ +GList *purple_media_manager_get_media(PurpleMediaManager *manager); + +/** + * Removes a media session from the media manager. + * + * @param manager The media manager to remove the media session from. + * @param media The media session to remove. + */ +void +purple_media_manager_remove_media(PurpleMediaManager *manager, + PurpleMedia *media); + /*}@*/ #ifdef __cplusplus