-fix comments for doxygen

This commit is contained in:
Özgür Kesim 2023-03-13 09:17:44 +01:00
parent 837c53552e
commit 838f6b7f1d
Signed by: oec
GPG Key ID: 3D76A56D79EDD9D7
2 changed files with 10 additions and 11 deletions

View File

@ -950,13 +950,13 @@ GNUNET_NETWORK_STRUCT_END
/** /**
* @brief It is build pos confirmation to verify payment. * @brief Builds POS confirmation token to verify payment.
* *
* @param pos_key encoded key for verification payment * @param pos_key encoded key for verification payment
* @param pos_alg algorithm to compute the payment verification * @param pos_alg algorithm to compute the payment verification
* @param total of the order paid * @param total of the order paid
* @param ts is the time given * @param ts is the time given
* * @return POS token on success, NULL otherwise
*/ */
char * char *
TALER_build_pos_confirmation (const char *pos_key, TALER_build_pos_confirmation (const char *pos_key,

View File

@ -163,6 +163,14 @@ base32decode (const char *val,
} }
/**
* @brief Builds POS confirmation to verify payment.
*
* @param h_key opaque key for the totp operation
* @param h_key_len size of h_key in bytes
* @param ts current time
* @return Token on success, NULL of failure
*/
static char * static char *
executive_totp (void *h_key, executive_totp (void *h_key,
size_t h_key_len, size_t h_key_len,
@ -201,15 +209,6 @@ executive_totp (void *h_key,
} }
/**
* @brief Builds POS confirmation to verify payment.
*
* @param pos_key base32 (RFC 3548, not Crockford!) encoded key for verification payment
* @param pos_alg algorithm to compute the payment verification
* @param total of the order paid
* @param ts is the current time given
* @return Token on success, NULL of failure
*/
char * char *
TALER_build_pos_confirmation (const char *pos_key, TALER_build_pos_confirmation (const char *pos_key,
enum TALER_MerchantConfirmationAlgorithm pos_alg, enum TALER_MerchantConfirmationAlgorithm pos_alg,