7 struct reader_interface {
9 struct reader_ctx *(*init_ctx) (void);
10 int (*parse_option)(struct reader_ctx * ctx, char *key, char *val);
11 int (*for_each_target)(struct reader_ctx * ctx,
12 (int *callback)(struct target_ctx * tgt,
13 void *arg), void *arg);
14 void (*drop_ctx)(*struct reader_ctx * ctx);
15 int (*transcieve)(struct target_ctx * tgt, uint8_t * send,
16 size_t send_size, uint8_t * recv,