X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=include%2Frecctrl.h;h=3bd4557a028182a73847a28f9ec74e9d3ddcc0f5;hb=0245f556af399689056b7810ed0e3de93021ad4a;hp=c88671a97c8be4f614e65f01f4a6d46b7c3ad1b5;hpb=7d9731c40c9432d988f921bb999f4a371f904697;p=idzebra-moved-to-github.git diff --git a/include/recctrl.h b/include/recctrl.h index c88671a..3bd4557 100644 --- a/include/recctrl.h +++ b/include/recctrl.h @@ -4,7 +4,14 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recctrl.h,v $ - * Revision 1.7 1995-10-02 15:18:09 adam + * Revision 1.9 1995-10-06 14:37:53 adam + * New result set method: r_score. + * Local no (sysno) and score is transferred to retrieveCtrl. + * + * Revision 1.8 1995/10/02 15:43:35 adam + * Extract uses file descriptors instead of FILE pointers. + * + * Revision 1.7 1995/10/02 15:18:09 adam * Minor changes. * * Revision 1.6 1995/10/02 15:05:26 quinn @@ -50,7 +57,8 @@ typedef struct { /* Extract record control */ struct recExtractCtrl { - FILE *inf; + int fd; /* File descriptor and read function */ + int (*readf)(int fd, char *buf, size_t count); char *subType; void (*init)(RecWord *p); void (*add)(const RecWord *p); @@ -63,6 +71,8 @@ struct recRetrieveCtrl { int fd; /* File descriptor and read function */ int (*readf)(int fd, char *buf, size_t count); oid_value input_format; /* Preferred record syntax */ + int localno; /* local id of record */ + int score; /* score 0-1000 or -1 if none */ /* response */ oid_value output_format;