taler-auditor-httpd_coin-inconsistency-get.h (1741B)
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 17 #ifndef SRC_TALER_AUDITOR_HTTPD_COIN_INCONSISTENCY_GET_H 18 #define SRC_TALER_AUDITOR_HTTPD_COIN_INCONSISTENCY_GET_H 19 20 #include <gnunet/gnunet_util_lib.h> 21 #include <microhttpd.h> 22 #include "taler-auditor-httpd.h" 23 24 /** 25 * Initialize subsystem. 26 */ 27 void 28 TEAH_COIN_INCONSISTENCY_GET_init (void); 29 30 /** 31 * Shut down subsystem. 32 */ 33 void 34 TEAH_COIN_INCONSISTENCY_GET_done (void); 35 36 /** 37 * Handle a "/deposit-confirmation" request. 38 * 39 * @param rh context of the handler 40 * @param connection the MHD connection to handle 41 * @param[in,out] connection_cls the connection's closure (can be updated) 42 * @param upload_data upload data 43 * @param[in,out] upload_data_size number of bytes (left) in @a upload_data 44 * @param args NULL-terminated array of remaining parts of the URI broken up at '/' 45 * @return MHD result code 46 */ 47 MHD_RESULT 48 TAH_COIN_INCONSISTENCY_handler_get ( 49 struct TAH_RequestHandler *rh, 50 struct MHD_Connection *connection, 51 void **connection_cls, 52 const char *upload_data, 53 size_t *upload_data_size, 54 const char *const args[]); 55 56 57 #endif