diff options
author | Neal H. Walfield <[email protected]> | 2015-03-13 12:44:18 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2015-03-23 18:58:27 +0000 |
commit | 9e79a15f74c428624b0049a3f6a077c1bc7c731d (patch) | |
tree | 27efbddcc523de2c5be915e4a58c4a7a0778588c /dirmngr/misc.h | |
parent | Move armor_data to misc.c. (diff) | |
download | gnupg-9e79a15f74c428624b0049a3f6a077c1bc7c731d.tar.gz gnupg-9e79a15f74c428624b0049a3f6a077c1bc7c731d.zip |
Move copy_stream function to misc.c.
* dirmngr/ks-action.c (copy_stream): Move function from here...
* dirmngr/misc.c (copy_stream): ... to here and drop the static
qualifier.
* dirmngr/misc.h (copy_stream): Add declaration.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'dirmngr/misc.h')
-rw-r--r-- | dirmngr/misc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dirmngr/misc.h b/dirmngr/misc.h index e98b79162..d8c53d30a 100644 --- a/dirmngr/misc.h +++ b/dirmngr/misc.h @@ -85,5 +85,7 @@ gpg_error_t create_estream_ksba_reader (ksba_reader_t *r_reader, estream_t fp); responsible for freeing *R_STRING. */ gpg_error_t armor_data (char **r_string, const void *data, size_t datalen); +/* Copy all data from IN to OUT. */ +gpg_error_t copy_stream (estream_t in, estream_t out); #endif /* MISC_H */ |