exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

taler-auditor-httpd_purse-not-closed-inconsistencies-get.h (1820B)


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