- ODR odr; /* ODR used to create response */
- int fd; /* File descriptor and read function */
- int (*readf)(int fd, char *buf, size_t count);
- oid_value input_format; /* Preferred record syntax */
- Z_RecordComposition *comp; /* formatting instructions */
- int localno; /* local id of record */
- int score; /* score 0-1000 or -1 if none */
+ ODR odr; /* ODR used to create response */
+ void *fh; /* File descriptor and read function */
+ int (*readf)(void *fh, char *buf, size_t count);
+ off_t (*seekf)(void *fh, off_t offset);
+ oid_value input_format; /* Preferred record syntax */
+ Z_RecordComposition *comp; /* formatting instructions */
+ int localno; /* local id of record */
+ int score; /* score 0-1000 or -1 if none */