diff options
| author | Christian Grothoff <christian@grothoff.org> | 2021-07-31 20:27:16 +0200 | 
|---|---|---|
| committer | Christian Grothoff <christian@grothoff.org> | 2021-07-31 20:27:16 +0200 | 
| commit | 1d54400a025ff62ad15b77ab117ea5188884b1a1 (patch) | |
| tree | 195b21644b44a24b84bee159ca0011a1d372a109 /src/include | |
| parent | 723a3b742e9b284400c5164d146dc953383b4384 (diff) | |
-more eliminations of json_pack
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/taler_exchange_service.h | 8 | ||||
| -rw-r--r-- | src/include/taler_json_lib.h | 12 | 
2 files changed, 10 insertions, 10 deletions
| diff --git a/src/include/taler_exchange_service.h b/src/include/taler_exchange_service.h index a344771c..3fc5f353 100644 --- a/src/include/taler_exchange_service.h +++ b/src/include/taler_exchange_service.h @@ -155,10 +155,10 @@ struct TALER_EXCHANGE_DenomPublicKey    struct TALER_Amount fee_refund;    /** -   * Set to #GNUNET_YES if this denomination key has been +   * Set to true if this denomination key has been     * revoked by the exchange.     */ -  int revoked; +  bool revoked;  }; @@ -1869,7 +1869,7 @@ typedef void   * @param pk kind of coin to pay back   * @param denom_sig signature over the coin by the exchange using @a pk   * @param ps secret internals of the original planchet - * @param was_refreshed #GNUNET_YES if the coin in @a ps was refreshed + * @param was_refreshed true if the coin in @a ps was refreshed   * @param recoup_cb the callback to call when the final result for this request is available   * @param recoup_cb_cls closure for @a recoup_cb   * @return NULL @@ -1881,7 +1881,7 @@ TALER_EXCHANGE_recoup (struct TALER_EXCHANGE_Handle *exchange,                         const struct TALER_EXCHANGE_DenomPublicKey *pk,                         const struct TALER_DenominationSignature *denom_sig,                         const struct TALER_PlanchetSecretsP *ps, -                       int was_refreshed, +                       bool was_refreshed,                         TALER_EXCHANGE_RecoupResultCallback recoup_cb,                         void *recoup_cb_cls); diff --git a/src/include/taler_json_lib.h b/src/include/taler_json_lib.h index 4ed259b2..0cbeba08 100644 --- a/src/include/taler_json_lib.h +++ b/src/include/taler_json_lib.h @@ -103,9 +103,9 @@ TALER_JSON_pack_time_rel_nbo (const char *name,   * @return json pack specification   */  struct GNUNET_JSON_PackSpec -TALER_JSON_pack_denomination_public_key (const char *name, -                                         const struct -                                         TALER_DenominationPublicKey *pk); +TALER_JSON_pack_denomination_public_key ( +  const char *name, +  const struct TALER_DenominationPublicKey *pk);  /** @@ -117,9 +117,9 @@ TALER_JSON_pack_denomination_public_key (const char *name,   * @return json pack specification   */  struct GNUNET_JSON_PackSpec -TALER_JSON_pack_denomination_signature (const char *name, -                                        const struct -                                        TALER_DenominationSignature *sig); +TALER_JSON_pack_denomination_signature ( +  const char *name, +  const struct TALER_DenominationSignature *sig);  /** | 
