gpgme-0.3.4

Werner Koch wk@gnupg.org
Thu Mar 21 22:38:01 2002


On Thu, 21 Mar 2002 16:09:06 -0500, Glenn Zenker said:

> I apologize, but I don't see the line
> #if !HAVE_FOPENCOOKIE

gpgme-0.3.4/gpgme/util.h near the end you find 

#if !HAVE_FOPENCOOKIE
typedef struct
{
  ssize_t (*read)(void*,char*,size_t);
  ssize_t (*write)(void*,const char*,size_t);
  int (*seek)(void*,off_t*,int);
  int (*close)(coid*);
} _IO_cookie_io_functions_t;
typedef _IO_cookie_io_functions_t cookie_io_functions_t;
FILE *fopencookie (void *cookie, const char *opentype,
                   cookie_io_functions_t funclist);
#endif /*!HAVE_FOPENCOOKIE*/
#endif /*HAVE_CONFIG_H*/

Ahemm, there is a typo I already fixed in the CVS - this is probably
what caused the trouble:

  int (*close)(coid*);

should be

  int (*close)(void*);