X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=include%2Frecctrl.h;h=aa34765c9a82d6327ea6f84722708d9ed9d5a9df;hb=5bdf6c8ddbafa8515a82079f631ef172d98e055b;hp=c88671a97c8be4f614e65f01f4a6d46b7c3ad1b5;hpb=b0507b858a53d4fccea867fadb060ba1ef8ecace;p=idzebra-moved-to-github.git diff --git a/include/recctrl.h b/include/recctrl.h index c88671a..aa34765 100644 --- a/include/recctrl.h +++ b/include/recctrl.h @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: recctrl.h,v $ - * Revision 1.7 1995-10-02 15:18:09 adam + * 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 +53,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);