diff options
Diffstat (limited to 'src/exchange/taler-exchange-httpd_validation.h')
| -rw-r--r-- | src/exchange/taler-exchange-httpd_validation.h | 8 | 
1 files changed, 5 insertions, 3 deletions
diff --git a/src/exchange/taler-exchange-httpd_validation.h b/src/exchange/taler-exchange-httpd_validation.h index 7722460b..7f239327 100644 --- a/src/exchange/taler-exchange-httpd_validation.h +++ b/src/exchange/taler-exchange-httpd_validation.h @@ -48,11 +48,13 @@ TEH_VALIDATION_done (void);   *   * @param wire the JSON wire format object   * @param ours #GNUNET_YES if the signature should match our master key - * @return #GNUNET_YES if correctly formatted; #GNUNET_NO if not + * @param[OUT] emsg set to error message if we return an error code + * @return #TALER_EC_NONE if correctly formatted; otherwise error code   */ -int +enum TALER_ErrorCode  TEH_json_validate_wireformat (const json_t *wire, -                              int ours); +                              int ours, +                              char **emsg);  /**  | 
