Mercurial > pidgin
diff libpurple/media.h @ 26058:ac56e5707a72
Added purple_media_end and removed the purple_media_got_hangup.
author | Mike Ruprecht <maiku@soc.pidgin.im> |
---|---|
date | Tue, 27 Jan 2009 07:48:03 +0000 |
parents | c334a9e17426 |
children | f6a98b2b8d92 |
line wrap: on
line diff
--- a/libpurple/media.h Sat Jan 24 12:01:34 2009 +0000 +++ b/libpurple/media.h Tue Jan 27 07:48:03 2009 +0000 @@ -401,11 +401,14 @@ void purple_media_hangup(PurpleMedia *media); /** - * Set the media session to the got_hangup state. + * Ends all streams that match the given parameters * - * @param media The media object to set the state on. + * @param media The media object with which to end streams. + * @param session_id The session to end streams on. + * @param participant The participant to end streams with. */ -void purple_media_got_hangup(PurpleMedia *media); +void purple_media_end(PurpleMedia *media, const gchar *session_id, + const gchar *participant); /** * Enumerates a list of devices.