aboutsummaryrefslogtreecommitdiffstats
path: root/common/iobuf.h
diff options
context:
space:
mode:
authorNeal H. Walfield <[email protected]>2015-08-10 13:04:52 +0000
committerNeal H. Walfield <[email protected]>2015-08-20 12:16:17 +0000
commit75fd86bbd175e085a93c1ad62f50ae936494b307 (patch)
tree8cb437ef986dfcf6aba46966aa80953fe391c855 /common/iobuf.h
parentcommon/iobuf.c: Refactor code to not need the desc field. (diff)
downloadgnupg-75fd86bbd175e085a93c1ad62f50ae936494b307.tar.gz
gnupg-75fd86bbd175e085a93c1ad62f50ae936494b307.zip
common/iobuf.h: Remove unimplemented prototypes.
* common/iobuf.h (iobuf_unread): Remove unimplemented prototype. (iobuf_clear_eof): Likewise. (iobuf_append): Likewise. -- Signed-off-by: Neal H. Walfield <[email protected]>.
Diffstat (limited to 'common/iobuf.h')
-rw-r--r--common/iobuf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/common/iobuf.h b/common/iobuf.h
index 1ae6f269e..c742c6403 100644
--- a/common/iobuf.h
+++ b/common/iobuf.h
@@ -123,7 +123,6 @@ iobuf_t iobuf_fdopen_nc (int fd, const char *mode);
iobuf_t iobuf_esopen (estream_t estream, const char *mode, int keep_open);
iobuf_t iobuf_sockopen (int fd, const char *mode);
iobuf_t iobuf_create (const char *fname, int mode700);
-iobuf_t iobuf_append (const char *fname);
iobuf_t iobuf_openrw (const char *fname);
int iobuf_ioctl (iobuf_t a, iobuf_ioctl_t cmd, int intval, void *ptrval);
int iobuf_close (iobuf_t iobuf);
@@ -137,7 +136,6 @@ int iobuf_push_filter2 (iobuf_t a,
byte * buf, size_t * len), void *ov,
int rel_ov);
int iobuf_flush (iobuf_t a);
-void iobuf_clear_eof (iobuf_t a);
#define iobuf_set_error(a) do { (a)->error = 1; } while(0)
#define iobuf_error(a) ((a)->error)
@@ -148,7 +146,6 @@ int iobuf_seek (iobuf_t a, off_t newpos);
int iobuf_readbyte (iobuf_t a);
int iobuf_read (iobuf_t a, void *buf, unsigned buflen);
-void iobuf_unread (iobuf_t a, const unsigned char *buf, unsigned int buflen);
unsigned iobuf_read_line (iobuf_t a, byte ** addr_of_buffer,
unsigned *length_of_buffer, unsigned *max_length);
int iobuf_peek (iobuf_t a, byte * buf, unsigned buflen);