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_fee-time-inconsistency-get.h (1758B)


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