This commit is contained in:
Christian Grothoff 2020-01-18 14:13:28 +01:00
parent 9d86f050f9
commit 9c45958a55
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
10 changed files with 24 additions and 30 deletions

View File

@ -422,7 +422,7 @@ TALER_MHD_legal_load (const struct GNUNET_CONFIGURATION_Handle *cfg,
/** /**
* Free set of legal documents * Free set of legal documents
* *
* @param leg legal documents to free * @param legal legal documents to free
*/ */
void void
TALER_MHD_legal_free (struct TALER_MHD_Legal *legal); TALER_MHD_legal_free (struct TALER_MHD_Legal *legal);

View File

@ -95,7 +95,7 @@ TALER_PQ_query_param_absolute_time_nbo (const struct
* Currency amount expected. * Currency amount expected.
* *
* @param name name of the field in the table * @param name name of the field in the table
* @param currency expected currency for the @a amount * @param currency currency to use for @a amount
* @param[out] amount where to store the result * @param[out] amount where to store the result
* @return array entry for the result specification to use * @return array entry for the result specification to use
*/ */
@ -109,7 +109,7 @@ TALER_PQ_result_spec_amount_nbo (const char *name,
* Currency amount expected. * Currency amount expected.
* *
* @param name name of the field in the table * @param name name of the field in the table
* @param currency expected currency for the @a amount * @param currency currency to use for @a amount
* @param[out] amount where to store the result * @param[out] amount where to store the result
* @return array entry for the result specification to use * @return array entry for the result specification to use
*/ */

View File

@ -1250,10 +1250,8 @@ TALER_TESTING_cmd_refresh_reveal_with_retry (struct TALER_TESTING_Command cmd);
* Create a "refresh link" command. * Create a "refresh link" command.
* *
* @param label command label. * @param label command label.
* @param exchange connection to the exchange.
* @param reveal_reference reference to a "refresh reveal" CMD. * @param reveal_reference reference to a "refresh reveal" CMD.
* @param expected_response_code expected HTTP response code * @param expected_response_code expected HTTP response code
*
* @return the "refresh link" command * @return the "refresh link" command
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
@ -1307,7 +1305,6 @@ TALER_TESTING_cmd_track_transaction (const char *label,
* @param index index number of the WTID to track, in case there * @param index index number of the WTID to track, in case there
* are multiple on offer. * are multiple on offer.
* @param expected_response_code expected HTTP response code. * @param expected_response_code expected HTTP response code.
*
* @return the command. * @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
@ -1327,7 +1324,7 @@ TALER_TESTING_cmd_track_transfer_empty (const char *label,
* @param index in case there are multiple WTID offered, this * @param index in case there are multiple WTID offered, this
* parameter selects a particular one. * parameter selects a particular one.
* @param expected_response_code expected HTTP response code. * @param expected_response_code expected HTTP response code.
* @param expected_amount how much money we expect being moved * @param expected_total_amount how much money we expect being moved
* with this wire-transfer. * with this wire-transfer.
* @param expected_wire_fee expected wire fee. * @param expected_wire_fee expected wire fee.
* @return the command * @return the command
@ -1461,7 +1458,7 @@ TALER_TESTING_cmd_refund (const char *label,
* the index of the coin using "$LABEL#$INDEX" syntax. * the index of the coin using "$LABEL#$INDEX" syntax.
* Here, $INDEX must be a non-negative number. * Here, $INDEX must be a non-negative number.
* @param amount denomination to pay back. * @param amount denomination to pay back.
* @param NULL if coin was not refreshed, otherwise label of the melt operation * @param melt_reference NULL if coin was not refreshed, otherwise label of the melt operation
* @return the command. * @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command

View File

@ -224,6 +224,7 @@ TALER_url_absolute_raw_va (const char *proto,
/** /**
* Make an absolute URL for a given MHD connection. * Make an absolute URL for a given MHD connection.
* *
* @param connection the connection to get the URL for
* @param path path of the url * @param path path of the url
* @param ... NULL-terminated key-value pairs (char *) for query parameters, * @param ... NULL-terminated key-value pairs (char *) for query parameters,
* the value will be url-encoded * the value will be url-encoded

View File

@ -1157,11 +1157,10 @@ parse_amounts (struct RefreshMeltState *rms,
* @return the command. * @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
TALER_TESTING_cmd_refresh_melt TALER_TESTING_cmd_refresh_melt (const char *label,
(const char *label, const char *coin_reference,
const char *coin_reference, unsigned int expected_response_code,
unsigned int expected_response_code, ...)
...)
{ {
struct RefreshMeltState *rms; struct RefreshMeltState *rms;
va_list ap; va_list ap;
@ -1193,7 +1192,6 @@ TALER_TESTING_cmd_refresh_melt
* request, see #5312. * request, see #5312.
* *
* @param label command label * @param label command label
* @param exchange connection to the exchange
* @param coin_reference reference to a command that will provide * @param coin_reference reference to a command that will provide
* a coin to refresh * a coin to refresh
* @param expected_response_code expected HTTP code * @param expected_response_code expected HTTP code
@ -1201,11 +1199,10 @@ TALER_TESTING_cmd_refresh_melt
* @return the command. * @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
TALER_TESTING_cmd_refresh_melt_double TALER_TESTING_cmd_refresh_melt_double (const char *label,
(const char *label, const char *coin_reference,
const char *coin_reference, unsigned int expected_response_code,
unsigned int expected_response_code, ...)
...)
{ {
struct RefreshMeltState *rms; struct RefreshMeltState *rms;
va_list ap; va_list ap;
@ -1257,7 +1254,6 @@ TALER_TESTING_cmd_refresh_melt_with_retry (struct TALER_TESTING_Command cmd)
* @param[out] ret result (could be anything). * @param[out] ret result (could be anything).
* @param trait name of the trait. * @param trait name of the trait.
* @param index index number of the object to offer. * @param index index number of the object to offer.
*
* @return #GNUNET_OK on success. * @return #GNUNET_OK on success.
*/ */
static int static int
@ -1318,7 +1314,6 @@ refresh_reveal_traits (void *cls,
* @param exchange connection to the exchange. * @param exchange connection to the exchange.
* @param melt_reference reference to a "refresh melt" command. * @param melt_reference reference to a "refresh melt" command.
* @param expected_response_code expected HTTP response code. * @param expected_response_code expected HTTP response code.
*
* @return the command. * @return the command.
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command
@ -1369,7 +1364,6 @@ TALER_TESTING_cmd_refresh_reveal_with_retry (struct TALER_TESTING_Command cmd)
* @param label command label. * @param label command label.
* @param reveal_reference reference to a "refresh reveal" CMD. * @param reveal_reference reference to a "refresh reveal" CMD.
* @param expected_response_code expected HTTP response code * @param expected_response_code expected HTTP response code
*
* @return the "refresh link" command * @return the "refresh link" command
*/ */
struct TALER_TESTING_Command struct TALER_TESTING_Command

View File

@ -768,7 +768,7 @@ TALER_TESTING_cmd_track_transfer_empty (const char *label,
* @param index in case there are multiple WTID offered, this * @param index in case there are multiple WTID offered, this
* parameter selects a particular one. * parameter selects a particular one.
* @param expected_response_code expected HTTP response code. * @param expected_response_code expected HTTP response code.
* @param expected_amount how much money we expect being moved * @param expected_total_amount how much money we expect being moved
* with this wire-transfer. * with this wire-transfer.
* @param expected_wire_fee expected wire fee. * @param expected_wire_fee expected wire fee.
* @return the command * @return the command

View File

@ -80,7 +80,7 @@ struct TALER_MHD_Legal
/** /**
* Check if @a mime matches the @a accept_pattern. * Check if @a mime matches the @a accept_pattern.
* *
* @param accept_pattern a mime pattern like text/plain or image/<STAR> * @param accept_pattern a mime pattern like text/plain or image/STAR
* @param mime the mime type to match * @param mime the mime type to match
* @return true if @a mime matches the @a accept_pattern * @return true if @a mime matches the @a accept_pattern
*/ */
@ -307,7 +307,7 @@ TALER_MHD_reply_legal (struct MHD_Connection *conn,
* Load all the terms of service from @a path under language @a lang * Load all the terms of service from @a path under language @a lang
* from file @a name * from file @a name
* *
* @param legal[in,out] where to write the result * @param[in,out] legal where to write the result
* @param path where the terms are found * @param path where the terms are found
* @param lang which language directory to crawl * @param lang which language directory to crawl
* @param name specific file to access * @param name specific file to access
@ -467,7 +467,7 @@ load_terms (struct TALER_MHD_Legal *legal,
/** /**
* Load all the terms of service from @a path under language @a lang. * Load all the terms of service from @a path under language @a lang.
* *
* @param legal[in,out] where to write the result * @param[in,out] legal where to write the result
* @param path where the terms are found * @param path where the terms are found
* @param lang which language directory to crawl * @param lang which language directory to crawl
*/ */
@ -569,7 +569,7 @@ TALER_MHD_legal_load (const struct GNUNET_CONFIGURATION_Handle *cfg,
/** /**
* Free set of legal documents * Free set of legal documents
* *
* @param leg legal documents to free * @param legal legal documents to free
*/ */
void void
TALER_MHD_legal_free (struct TALER_MHD_Legal *legal) TALER_MHD_legal_free (struct TALER_MHD_Legal *legal)

View File

@ -161,6 +161,7 @@ extract_amount_nbo (void *cls,
* Currency amount expected. * Currency amount expected.
* *
* @param name name of the field in the table * @param name name of the field in the table
* @param currency the currency to use for @a amount
* @param[out] amount where to store the result * @param[out] amount where to store the result
* @return array entry for the result specification to use * @return array entry for the result specification to use
*/ */
@ -239,7 +240,7 @@ extract_amount (void *cls,
* Currency amount expected. * Currency amount expected.
* *
* @param name name of the field in the table * @param name name of the field in the table
* @param currency the currency the amount is in * @param currency the currency to use for @a amount
* @param[out] amount where to store the result * @param[out] amount where to store the result
* @return array entry for the result specification to use * @return array entry for the result specification to use
*/ */

View File

@ -161,8 +161,8 @@ TALER_merchant_wire_signature_check (const char *payto_url,
* *
* @param payto_url account specification * @param payto_url account specification
* @param salt the salt used to salt the @a payto_url when hashing * @param salt the salt used to salt the @a payto_url when hashing
* @param merchant_priv private key to sign with * @param merch_priv private key to sign with
* @param[out] merchant_sig where to write the signature * @param[out] merch_sig where to write the signature
*/ */
void void
TALER_merchant_wire_signature_make (const char *payto_url, TALER_merchant_wire_signature_make (const char *payto_url,

View File

@ -489,6 +489,7 @@ TALER_mhd_is_https (struct MHD_Connection *connection)
/** /**
* Make an absolute URL for a given MHD connection. * Make an absolute URL for a given MHD connection.
* *
* @param connection the connection to get the URL for
* @param path path of the url * @param path path of the url
* @param ... NULL-terminated key-value pairs (char *) for query parameters, * @param ... NULL-terminated key-value pairs (char *) for query parameters,
* the value will be url-encoded * the value will be url-encoded