diff options
| author | Werner Koch <[email protected]> | 2011-01-24 11:24:11 +0000 |
|---|---|---|
| committer | Werner Koch <[email protected]> | 2011-01-24 11:24:11 +0000 |
| commit | c5e8a4c0fdde7f4aef2163a3710483c87bdf3161 (patch) | |
| tree | ae9da511231485f5c8ba8faeb3e7db3b971fe8ff /common/membuf.h | |
| parent | Fix regression introduced by "editing only change". (diff) | |
| parent | Remove keyserver/ from the build system. (diff) | |
| download | gnupg-c5e8a4c0fdde7f4aef2163a3710483c87bdf3161.tar.gz gnupg-c5e8a4c0fdde7f4aef2163a3710483c87bdf3161.zip | |
Merge branch 'master' into ECC-INTEGRATION-2-1
Diffstat (limited to 'common/membuf.h')
| -rw-r--r-- | common/membuf.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common/membuf.h b/common/membuf.h index 75b506d5d..9f1a7a33b 100644 --- a/common/membuf.h +++ b/common/membuf.h @@ -39,9 +39,10 @@ typedef struct private_membuf_s membuf_t; void init_membuf (membuf_t *mb, int initiallen); void init_membuf_secure (membuf_t *mb, int initiallen); +void clear_membuf (membuf_t *mb, size_t amount); void put_membuf (membuf_t *mb, const void *buf, size_t len); void put_membuf_str (membuf_t *mb, const char *string); void *get_membuf (membuf_t *mb, size_t *len); - +const void *peek_membuf (membuf_t *mb, size_t *len); #endif /*GNUPG_COMMON_MEMBUF_H*/ |
