summaryrefslogtreecommitdiffstats
path: root/libmpdemux/network.h
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-11 01:06:08 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-12-11 01:06:08 +0000
commitdbfbbbae3dfb923b476fc6262b6fa03ffb9430f6 (patch)
tree5dc1b5c97883b6b886e78e4a2e17eca69d733227 /libmpdemux/network.h
parentc86363fd08df189b155b8cd668c57fc5104b9132 (diff)
downloadmpv-dbfbbbae3dfb923b476fc6262b6fa03ffb9430f6.tar.bz2
mpv-dbfbbbae3dfb923b476fc6262b6fa03ffb9430f6.tar.xz
Added a data field in the streaming_ctrl_t struct, to store any
kind of data that the protocol need to keep track of. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3454 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/network.h')
-rw-r--r--libmpdemux/network.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/network.h b/libmpdemux/network.h
index d4f7fff87f..8353aac365 100644
--- a/libmpdemux/network.h
+++ b/libmpdemux/network.h
@@ -34,6 +34,7 @@ typedef struct streaming_control {
unsigned int buffer_pos;
int (*streaming_read)( int fd, char *buffer, int buffer_size, struct streaming_control *stream_ctrl );
int (*streaming_seek)( int fd, off_t pos, struct streaming_control *stream_ctrl );
+ void *data;
} streaming_ctrl_t;
int streaming_bufferize( streaming_ctrl_t *streaming_ctrl, char *buffer, int size);