From 9084ac48216876c8a2f9d5a1a78c4b6216676de7 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 5 Jul 2015 13:05:58 +0200 Subject: fixing RC counting and a comma --- src/mint/taler-mint-httpd_parsing.h | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) (limited to 'src/mint/taler-mint-httpd_parsing.h') diff --git a/src/mint/taler-mint-httpd_parsing.h b/src/mint/taler-mint-httpd_parsing.h index c6981e60..7dcbca68 100644 --- a/src/mint/taler-mint-httpd_parsing.h +++ b/src/mint/taler-mint-httpd_parsing.h @@ -277,17 +277,24 @@ TMH_PARSE_member_object (const char *field, * Generate line in parser specification for RSA public key. * * @param field name of the field - * @param ptrpk address of `struct TALER_DenominationPublicKey` initialize + * @param[out] pk key to initialize + * @return corresponding field spec */ -#define TMH_PARSE_MEMBER_DENOMINATION_PUBLIC_KEY(field,ptrpk) { field, ptrpk, 0, 0, TMH_PARSE_JNC_RET_RSA_PUBLIC_KEY, 0 } +struct TMH_PARSE_FieldSpecification +TMH_PARSE_member_denomination_public_key (const char *field, + struct TALER_DenominationPublicKey *pk); + /** * Generate line in parser specification for RSA public key. * * @param field name of the field - * @param ptrsig address of `struct TALER_DenominationSignature *` initialize + * @param sig the signature to initialize + * @return corresponding field spec */ -#define TMH_PARSE_MEMBER_DENOMINATION_SIGNATURE(field,ptrsig) { field, ptrsig, 0, 0, TMH_PARSE_JNC_RET_RSA_SIGNATURE, 0 } +struct TMH_PARSE_FieldSpecification +TMH_PARSE_member_denomination_signature (const char *field, + struct TALER_DenominationSignature *sig); /** -- cgit v1.2.3