summaryrefslogtreecommitdiff
path: root/gst/rtsp-server/rtsp-client.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2013-07-09 16:01:29 +0200
committerWim Taymans <wim.taymans@collabora.co.uk>2013-07-09 16:01:29 +0200
commitc9d6455ad31f4d9c19a9396f27c28b535e43fb0a (patch)
tree7223bd93423af2a42435b8ff737afdfe0cc59b3c /gst/rtsp-server/rtsp-client.h
parent0499a1ec7db7911569b53a854eb7eae1b7d7882e (diff)
client: add state to current thread
Add the client to the ClientState object. Place the ClientState on the current thread.
Diffstat (limited to 'gst/rtsp-server/rtsp-client.h')
-rw-r--r--gst/rtsp-server/rtsp-client.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gst/rtsp-server/rtsp-client.h b/gst/rtsp-server/rtsp-client.h
index d772b38..a7311c2 100644
--- a/gst/rtsp-server/rtsp-client.h
+++ b/gst/rtsp-server/rtsp-client.h
@@ -49,6 +49,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
/**
* GstRTSPClientState:
+ * @client: the client
* @request: the complete request
* @uri: the complete url parsed from @request
* @method: the parsed method of @uri
@@ -64,6 +65,7 @@ typedef struct _GstRTSPClientPrivate GstRTSPClientPrivate;
* Information passed around containing the client state of a request.
*/
struct _GstRTSPClientState {
+ GstRTSPClient *client;
GstRTSPMessage *request;
GstRTSPUrl *uri;
GstRTSPMethod method;
@@ -77,6 +79,8 @@ struct _GstRTSPClientState {
GstRTSPMessage *response;
};
+GstRTSPClientState * gst_rtsp_client_state_get_current (void);
+
/**
* GstRTSPClientSendFunc:
* @client: a #GstRTSPClient