diff options
author | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-08 18:28:36 -0400 |
---|---|---|
committer | Jonathan Buchanan <jonathan.russ.buchanan@gmail.com> | 2020-06-08 18:28:36 -0400 |
commit | cb8cb51cbda0eb3255754ea87c0098280a1b4286 (patch) | |
tree | 24c9ce292a540e36cd74329c160fe5eca329b2f5 /src/backend/taler-merchant-httpd_private-get-tips.h | |
parent | fcf60499c3ab3e23c458cecdf8f51dd7cf5e16d3 (diff) | |
download | merchant-cb8cb51cbda0eb3255754ea87c0098280a1b4286.tar.gz merchant-cb8cb51cbda0eb3255754ea87c0098280a1b4286.tar.bz2 merchant-cb8cb51cbda0eb3255754ea87c0098280a1b4286.zip |
headers and empty source files for GET /private/tips
Diffstat (limited to 'src/backend/taler-merchant-httpd_private-get-tips.h')
-rw-r--r-- | src/backend/taler-merchant-httpd_private-get-tips.h | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd_private-get-tips.h b/src/backend/taler-merchant-httpd_private-get-tips.h new file mode 100644 index 00000000..a892726e --- /dev/null +++ b/src/backend/taler-merchant-httpd_private-get-tips.h @@ -0,0 +1,41 @@ +/* + This file is part of TALER + (C) 2020 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 backend/taler-merchant-httpd_private-get-tips.h + * @brief headers for GET /private/tips handler + * @author Jonathan Buchanan + */ +#ifndef TALER_MERCHANT_HTTPD_PRIVATE_GET_TIPS_H +#define TALER_MERCHANT_HTTPD_PRIVATE_GET_TIPS_H +#include <microhttpd.h> +#include "taler-merchant-httpd.h" + + +/** + * Manages a GET /private/tips call. + * + * @param rh context of the handler + * @param connection the MHD connection to handle + * @param[in,out] hc context with further information about the request + * @return MHD result code + */ +MHD_RESULT +TMH_private_get_tips (const struct TMH_RequestHandler *rh, + struct MHD_Connection *connection, + struct TMH_HandlerContext *hc); + + +#endif |