diff options
| author | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-14 20:58:53 +0800 |
|---|---|---|
| committer | ꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id> | 2022-09-14 20:58:53 +0800 |
| commit | a775ac24ac9b2b081300694085736d08f9ec8cf8 (patch) | |
| tree | f518522d22bbc27a0923239dcacc0effe9c791a7 /shopify.h | |
| parent | ad35f7c98dc737d5017d80e34fecb6ad3c5d27ad (diff) | |
The toml & html file paths are handed to the app
Diffstat (limited to 'shopify.h')
| -rw-r--r-- | shopify.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -19,8 +19,9 @@ bool shopify_valid(struct MHD_Connection *conn, const char *url, struct shopify_param *params[]); enum MHD_Result shopify_respond(struct shopify_param params[], const char *url, const char *redir_url, const char *app_url, const char *app_id, - const char *key, const char *secret_key, const char *dir, - struct MHD_Connection *conn, struct MHD_Response **resp); + const char *key, const char *secret_key, const char *toml_path, + const char *html_path, struct MHD_Connection *conn, + struct MHD_Response **resp); void shopify_cleanup(); #ifdef __cplusplus |