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_denomination-key-validity-withdraw-inconsistency-get.h (1923B)


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