summaryrefslogtreecommitdiff
path: root/shopify.h
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-14 20:58:53 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-14 20:58:53 +0800
commita775ac24ac9b2b081300694085736d08f9ec8cf8 (patch)
treef518522d22bbc27a0923239dcacc0effe9c791a7 /shopify.h
parentad35f7c98dc737d5017d80e34fecb6ad3c5d27ad (diff)
The toml & html file paths are handed to the app
Diffstat (limited to 'shopify.h')
-rw-r--r--shopify.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/shopify.h b/shopify.h
index 6af62d1..247bc1c 100644
--- a/shopify.h
+++ b/shopify.h
@@ -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