/* * ISO 13818 stream multiplexer * Copyright (C) 2001 Convergence Integrated Media GmbH Berlin * Author: Oskar Schirmer (oskar@convergence.de) */ boolean input_init (void); boolean input_expected (void); boolean input_acceptable (unsigned int *nfds, struct pollfd *ufds, int *timeout, boolean outnotfull); stream_descr *input_available (void); file_descr* input_openfile (char *name, content_type content, boolean automatic, int programnb); file_descr* input_existfile (char *name); void input_endfile (file_descr *f); void input_closefileifunused (file_descr *f); boolean input_addprog (stream_descr *s, prog_descr *p); boolean input_delprog (stream_descr *s, prog_descr *p); stream_descr *input_openstream (file_descr *f, int sourceid, int streamid, int streamtype, boolean isamap, stream_descr *mapstream); void input_endstream (stream_descr *s); void input_endstreamkill (stream_descr *s); void input_closestream (stream_descr *s); int input_findfreestreamid (prog_descr *p, int sid); stream_descr *input_findpcrstream (prog_descr *p); stream_descr *connect_streamprog (file_descr *f, int programnb, int sourceid, int streamid, int streamtype, stream_descr *stream, stream_descr *mapstream, boolean mention); boolean split_something (void); file_descr *input_filehandle (int handle); void input_something (file_descr *f, boolean readable);