Revision fcc01ba5 src/Chunkiser/chunkiser_iface.h

View differences:

src/Chunkiser/chunkiser_iface.h
1
struct chunkiser_ctx;
2

  
1 3
struct chunkiser_iface {
2
  struct input_stream *(*open)(const char *fname, int *period, const char *config);
3
  void (*close)(struct input_stream *s);
4
  uint8_t *(*chunkise)(struct input_stream *s, int id, int *size, uint64_t *ts);
4
  struct chunkiser_ctx *(*open)(const char *fname, int *period, const char *config);
5
  void (*close)(struct chunkiser_ctx *s);
6
  uint8_t *(*chunkise)(struct chunkiser_ctx *s, int id, int *size, uint64_t *ts);
5 7
};

Also available in: Unified diff