From 556562086acd2bc2f8e3aa3126ebf155715e042b Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Wed, 26 Feb 2014 16:16:30 +0100 Subject: common: New function get_membuf_shrink. * common/membuf.c (get_membuf_shrink): New. --- common/membuf.h | 1 + 1 file changed, 1 insertion(+) (limited to 'common/membuf.h') diff --git a/common/membuf.h b/common/membuf.h index bf4cf3687..dfa236d82 100644 --- a/common/membuf.h +++ b/common/membuf.h @@ -57,6 +57,7 @@ void put_membuf_str (membuf_t *mb, const char *string); void put_membuf_printf (membuf_t *mb, const char *format, ...) JNLIB_GCC_A_PRINTF(2,3); void *get_membuf (membuf_t *mb, size_t *len); +void *get_membuf_shrink (membuf_t *mb, size_t *len); const void *peek_membuf (membuf_t *mb, size_t *len); #endif /*GNUPG_COMMON_MEMBUF_H*/ -- cgit v1.2.3