From 32475a7868f5e2e1c274a65ecc6791375054eaa4 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 9 Apr 2025 09:25:51 +0900 Subject: 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 --- src/gpg-error.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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. */ -- cgit v1.2.3