Statistics
| Branch: | Revision:

grapes / src / Chunkiser / chunkiser_iface.h @ 4cdd16a7

History | View | Annotate | Download (316 Bytes)

1 fcc01ba5 Luca Abeni
struct chunkiser_ctx;
2
3 c0c735aa Luca Abeni
struct chunkiser_iface {
4 fcc01ba5 Luca Abeni
  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);
7 4cdd16a7 Luca Abeni
  const int *(*get_fds)(const struct chunkiser_ctx *s);
8 c0c735aa Luca Abeni
};