Merge svn changes up to r26783
[mplayer.git] / mp_fifo.h
blob751de324b6e3daed52659b01b9abc1fa279b60cc
1 #ifndef MPLAYER_MP_FIFO_H
2 #define MPLAYER_MP_FIFO_H
4 struct mp_fifo;
5 int mplayer_get_key(void *ctx, int fd);
6 void mplayer_put_key(struct mp_fifo *fifo, int code);
7 // Can be freed with talloc_free()
8 struct MPOpts;
9 struct mp_fifo *mp_fifo_create(struct MPOpts *opts);
12 #ifdef IS_OLD_VO
13 #define mplayer_put_key(key) mplayer_put_key(global_vo->key_fifo, key)
14 #endif
16 #endif /* MPLAYER_MP_FIFO_H */