taler-merchant-httpd_post-private-reports.h (1421B)
1 /* 2 This file is part of TALER 3 (C) 2025 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify it under the 6 terms of the GNU Affero General Public License as published by the Free Software 7 Foundation; either version 3, or (at your option) any later version. 8 9 TALER is distributed in the hope that it will be useful, but WITHOUT ANY 10 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR 11 A PARTICULAR PURPOSE. See the GNU Affero General Public License for more 12 details. 13 14 You should have received a copy of the GNU Affero General Public License 15 along with TALER; see the file COPYING. If not, see 16 <http://www.gnu.org/licenses/> 17 */ 18 /** 19 * @file taler-merchant-httpd_post-private-reports.h 20 * @brief HTTP serving layer for creating reports 21 * @author Christian Grothoff 22 */ 23 #ifndef TALER_MERCHANT_HTTPD_PRIVATE_POST_REPORTS_H 24 #define TALER_MERCHANT_HTTPD_PRIVATE_POST_REPORTS_H 25 26 #include "taler-merchant-httpd.h" 27 28 /** 29 * Handle POST /private/reports request. 30 * 31 * @param rh context of the handler 32 * @param connection the MHD connection to handle 33 * @param[in,out] hc context with further information about the request 34 * @return MHD result code 35 */ 36 MHD_RESULT 37 TMH_private_post_reports (const struct TMH_RequestHandler *rh, 38 struct MHD_Connection *connection, 39 struct TMH_HandlerContext *hc); 40 41 #endif