Revision c9370421 input.c

View differences:

input.c
25 25
  uint64_t first_ts;
26 26
};
27 27

  
28
struct input_desc *input_open(const char *fname, uint16_t flags)
28
struct input_desc *input_open(const char *fname, uint16_t flags, int *fds, int fds_size)
29 29
{
30 30
  struct input_desc *res;
31 31
  struct timeval tv;
32 32

  
33
  if (fds_size >= 1) {
34
    *fds = -1; //This input module needs no fds to monitor
35
  }
36

  
33 37
  res = malloc(sizeof(struct input_desc));
34 38
  if (res == NULL) {
35 39
    return NULL;

Also available in: Unified diff