diff options
author | Werner Koch <[email protected]> | 2006-10-04 16:45:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2006-10-04 16:45:04 +0000 |
commit | 8684a78518691a9d033a8af2d743b8d2fa9d2351 (patch) | |
tree | 1e2ace515eb108ef7c191f008582cdd282d15ec2 /common/membuf.h | |
parent | Preparing a new release (diff) | |
download | gnupg-8684a78518691a9d033a8af2d743b8d2fa9d2351.tar.gz gnupg-8684a78518691a9d033a8af2d743b8d2fa9d2351.zip |
Fixed agent access for gpg.
Diffstat (limited to '')
-rw-r--r-- | common/membuf.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/common/membuf.h b/common/membuf.h index 9033be61e..f9c08a400 100644 --- a/common/membuf.h +++ b/common/membuf.h @@ -24,7 +24,8 @@ /* The definition of the structure is private, we only need it here, so it can be allocated on the stack. */ -struct private_membuf_s { +struct private_membuf_s +{ size_t len; size_t size; char *buf; @@ -35,6 +36,7 @@ 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 put_membuf (membuf_t *mb, const void *buf, size_t len); void *get_membuf (membuf_t *mb, size_t *len); |