diff options
author | priscilla <priscilla.huang@efrei.net> | 2023-01-26 05:49:12 -0500 |
---|---|---|
committer | priscilla <priscilla.huang@efrei.net> | 2023-01-26 05:49:34 -0500 |
commit | 23826f925e94ea021f3ece175917d2240d9601c8 (patch) | |
tree | 600c1157d4f36ae7f377b5cd57926111213ab481 /src/backend/taler-merchant-webhook.h | |
parent | dac80e1e35ab724312d00f7e581d560fbc7e01f5 (diff) | |
download | merchant-23826f925e94ea021f3ece175917d2240d9601c8.tar.gz merchant-23826f925e94ea021f3ece175917d2240d9601c8.tar.bz2 merchant-23826f925e94ea021f3ece175917d2240d9601c8.zip |
pending webhook update
Diffstat (limited to 'src/backend/taler-merchant-webhook.h')
-rw-r--r-- | src/backend/taler-merchant-webhook.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-webhook.h b/src/backend/taler-merchant-webhook.h new file mode 100644 index 00000000..bfb732f5 --- /dev/null +++ b/src/backend/taler-merchant-webhook.h @@ -0,0 +1,39 @@ +/* + This file is part of TALER + Copyright (C) 2023 Taler Systems SA + + TALER is free software; you can redistribute it and/or modify it under the + terms of the GNU General Public License as published by the Free Software + Foundation; either version 3, or (at your option) any later version. + + TALER is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> +*/ + +/** + * @file taler-merchant-webhook.h + * @brief logic to preload and serve static files + * @author Priscilla HUANG + */ +#ifndef TALER_MERCHANT_WEBHOOK_H +#define TALER_MERCHANT_WEBHOOK_H + +#include <microhttpd.h> +#include "taler-merchant-httpd.h" + +/** + * The main function of the taler-merchant-webhook + * @param argc number of arguments from the command line + * @param argv command line arguments + * @return 0 ok, 1 on error + */ +int +main (int argc, + char *const *argv); + + +#endif |