diff options
author | NIIBE Yutaka <[email protected]> | 2025-04-09 00:25:51 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2025-04-09 00:25:51 +0000 |
commit | 32475a7868f5e2e1c274a65ecc6791375054eaa4 (patch) | |
tree | d278113449cf472068c51293c9496022c6118191 | |
parent | Post release updates (diff) | |
download | libgpg-error-32475a7868f5e2e1c274a65ecc6791375054eaa4.tar.gz libgpg-error-32475a7868f5e2e1c274a65ecc6791375054eaa4.zip |
Use gpgrt_stream_t for the API of gpgrt_nvc_*.
* src/gpg-error.h.in (gpgrt_nvc_parse): Use gpgrt_stream_t.
(gpgrt_nvc_write): Likewise.
--
For applications with no GPGRT_ENABLE_ES_MACROS, it's good not to use
estream_t here.
Fixes-commit: 7ec1f27b60eec95297c5267ab5ebbdb73b263c3f
Signed-off-by: NIIBE Yutaka <[email protected]>
-rw-r--r-- | src/gpg-error.h.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpg-error.h.in b/src/gpg-error.h.in index 1bfe6a7..d925ab0 100644 --- a/src/gpg-error.h.in +++ b/src/gpg-error.h.in @@ -1098,10 +1098,10 @@ gpgrt_nve_t gpgrt_nvc_lookup (gpgrt_nvc_t cont, const char *name); * considering is stored there. FLAGS are used to allocate the * container. */ gpg_err_code_t gpgrt_nvc_parse (gpgrt_nvc_t *result, int *errlinep, - estream_t stream, unsigned int flags); + gpgrt_stream_t stream, unsigned int flags); /* Write a representation of the container CONT to STREAM. */ -gpg_err_code_t gpgrt_nvc_write (gpgrt_nvc_t cont, estream_t stream); +gpg_err_code_t gpgrt_nvc_write (gpgrt_nvc_t cont, gpgrt_stream_t stream); /* Return the next non-comment entry after ENTRY. If NAME is given * the next entry with that name is returned. */ |