taler-auditor-httpd_balances-get.h (1532B)
1 /* 2 This file is part of TALER 3 Copyright (C) 2024 Taler Systems SA 4 5 TALER is free software; you can redistribute it and/or modify it under the 6 terms of the GNU 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 General Public License for more details. 12 13 You should have received a copy of the GNU General Public License along with 14 TALER; see the file COPYING. If not, see <http://www.gnu.org/licenses/> 15 */ 16 #ifndef TALER_AUDITOR_HTTPD_BALANCES_GET_H 17 #define TALER_AUDITOR_HTTPD_BALANCES_GET_H 18 19 #include <gnunet/gnunet_util_lib.h> 20 #include <microhttpd.h> 21 #include "taler-auditor-httpd.h" 22 23 24 /** 25 * Handle a "/balances" request. 26 * 27 * @param rh context of the handler 28 * @param connection the MHD connection to handle 29 * @param[in,out] connection_cls the connection's closure (can be updated) 30 * @param upload_data upload data 31 * @param[in,out] upload_data_size number of bytes (left) in @a upload_data 32 * @param args NULL-terminated array of remaining parts of the URI broken up at '/' 33 * @return MHD result code 34 */ 35 MHD_RESULT 36 TAH_BALANCES_handler_get ( 37 struct TAH_RequestHandler *rh, 38 struct MHD_Connection *connection, 39 void **connection_cls, 40 const char *upload_data, 41 size_t *upload_data_size, 42 const char *const args[]); 43 44 45 #endif