aboutsummaryrefslogtreecommitdiffstats
path: root/common/util.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2003-04-29 10:39:22 +0000
committerWerner Koch <[email protected]>2003-04-29 10:39:22 +0000
commit84a9ac9572970d587e2ad0fbcd6fcc7783cbadb7 (patch)
treee33d4f9cfcb7541094b8194ce279b509840082a4 /common/util.h
parent* command.c (register_commands): Adjusted for new Assuan semantics. (diff)
downloadgnupg-84a9ac9572970d587e2ad0fbcd6fcc7783cbadb7.tar.gz
gnupg-84a9ac9572970d587e2ad0fbcd6fcc7783cbadb7.zip
* util.h (fopencokokie): Removed prototype and struct.
* maperror.c: Use system assuan.h
Diffstat (limited to 'common/util.h')
-rw-r--r--common/util.h23
1 files changed, 1 insertions, 22 deletions
diff --git a/common/util.h b/common/util.h
index a863f2078..ef988f672 100644
--- a/common/util.h
+++ b/common/util.h
@@ -1,5 +1,5 @@
/* util.h - Utility functions for Gnupg
- * Copyright (C) 2001, 2002 Free Software Foundation, Inc.
+ * Copyright (C) 2001, 2002, 2003 Free Software Foundation, Inc.
*
* This file is part of GnuPG.
*
@@ -75,19 +75,6 @@ int vasprintf (char **result, const char *format, va_list *args);
int asprintf (char **result, const char *format, ...);
#endif
-#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)(void*);
-} _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*/
-
/*-- some macros to replace ctype ones and avoid locale problems --*/
@@ -107,11 +94,3 @@ FILE *fopencookie (void *cookie, const char *opentype,
#endif /*GNUPG_COMMON_UTIL_H*/
-
-
-
-
-
-
-
-