Add a new callback structure to propigate when the RTSP connection dies

git-svn-id: file:///home/lennart/svn/public/pulseaudio/branches/coling@2402 fefdeb5f-60dc-0310-8127-8f9354f1896f
This commit is contained in:
Colin Guthrie 2008-05-11 14:18:48 +00:00
parent 5eecfa2e3f
commit 899492c315
4 changed files with 33 additions and 5 deletions

View file

@ -44,7 +44,8 @@ typedef enum {
STATE_RECORD,
STATE_TEARDOWN,
STATE_SET_PARAMETER,
STATE_FLUSH
STATE_FLUSH,
STATE_DISCONNECTED
} pa_rtsp_state;
typedef void (*pa_rtsp_cb_t)(pa_rtsp_client *c, pa_rtsp_state state, pa_headerlist* hl, void *userdata);