diff options
Diffstat (limited to 'src/kyclogic/plugin_kyclogic_template.c')
-rw-r--r-- | src/kyclogic/plugin_kyclogic_template.c | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/src/kyclogic/plugin_kyclogic_template.c b/src/kyclogic/plugin_kyclogic_template.c index 4a21882b8..54f36e6f2 100644 --- a/src/kyclogic/plugin_kyclogic_template.c +++ b/src/kyclogic/plugin_kyclogic_template.c @@ -249,6 +249,7 @@ template_initiate (void *cls, { struct TALER_KYCLOGIC_InitiateHandle *ih; + (void) cls; ih = GNUNET_new (struct TALER_KYCLOGIC_InitiateHandle); ih->legitimization_uuid = legitimization_uuid; ih->cb = cb; @@ -278,10 +279,9 @@ template_proof_cancel (struct TALER_KYCLOGIC_ProofHandle *ph) * * @param cls the @e cls of this struct with the plugin-specific state * @param pd provider configuration details - * @param url_path rest of the URL after `/kyc-webhook/` * @param connection MHD connection object (for HTTP headers) * @param account_id which account to trigger process for - * @param legi_row row in the table the legitimization is for + * @param process_row row in the legitimization processes table the legitimization is for * @param provider_user_id user ID (or NULL) the proof is for * @param provider_legitimization_id legitimization ID the proof is for * @param cb function to call with the result @@ -291,10 +291,9 @@ template_proof_cancel (struct TALER_KYCLOGIC_ProofHandle *ph) static struct TALER_KYCLOGIC_ProofHandle * template_proof (void *cls, const struct TALER_KYCLOGIC_ProviderDetails *pd, - const char *const url_path[], struct MHD_Connection *connection, const struct TALER_PaytoHashP *account_id, - uint64_t legi_row, + uint64_t process_row, const char *provider_user_id, const char *provider_legitimization_id, TALER_KYCLOGIC_ProofCallback cb, @@ -303,6 +302,10 @@ template_proof (void *cls, struct PluginState *ps = cls; struct TALER_KYCLOGIC_ProofHandle *ph; + (void) account_id; + (void) process_row; + (void) provider_user_id; + (void) provider_legitimization_id; ph = GNUNET_new (struct TALER_KYCLOGIC_ProofHandle); ph->ps = ps; ph->pd = pd; @@ -358,6 +361,11 @@ template_webhook (void *cls, struct PluginState *ps = cls; struct TALER_KYCLOGIC_WebhookHandle *wh; + (void) plc; + (void) plc_cls; + (void) http_method; + (void) url_path; + (void) body; wh = GNUNET_new (struct TALER_KYCLOGIC_WebhookHandle); wh->cb = cb; wh->cb_cls = cb_cls; |