diff options
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 |