Revision 4cdd16a7 include/chunkiser.h
include/chunkiser.h | ||
---|---|---|
34 | 34 |
struct input_stream *input_stream_open(const char *fname, int *period, const char *config); |
35 | 35 |
|
36 | 36 |
/** |
37 |
* @brief Return the FDs used for input. |
|
38 |
* |
|
39 |
* Return a "-1 terminated" array of integers containing the FDs used for |
|
40 |
* reading an input stream. Such an array can be directly passed to wait4data() |
|
41 |
* as user_fds |
|
42 |
* |
|
43 |
* @param input_stream the pointer to the chunkiser context |
|
44 |
* @return the array with the input FDs on success, NULL on error or if |
|
45 |
* such FDs are not available |
|
46 |
*/ |
|
47 |
const int *input_get_fds(const struct input_stream *s); |
|
48 |
|
|
49 |
/** |
|
37 | 50 |
* @brief Cleanup a chunkiser. |
38 | 51 |
* |
39 | 52 |
* Close an A/V stream, and cleanup all the data structures related to the |
Also available in: Unified diff