summaryrefslogtreecommitdiffstats
path: root/src/modules/rtp/rtsp_client.h
diff options
context:
space:
mode:
authorColin Guthrie <pulse@colin.guthr.ie>2008-05-11 14:18:48 +0000
committerColin Guthrie <pulse@colin.guthr.ie>2008-10-08 20:32:08 +0100
commit899492c31581f5591cd9437052dda15ad02ec0ac (patch)
treee74bb2f9a077c6867884629a842184f192addf1a /src/modules/rtp/rtsp_client.h
parent5eecfa2e3f3abcacc9df2776cba798598e5fb6ee (diff)
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
Diffstat (limited to 'src/modules/rtp/rtsp_client.h')
-rw-r--r--src/modules/rtp/rtsp_client.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/rtp/rtsp_client.h b/src/modules/rtp/rtsp_client.h
index 0f1daabd..3c5280c2 100644
--- a/src/modules/rtp/rtsp_client.h
+++ b/src/modules/rtp/rtsp_client.h
@@ -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);