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_pending-deposits-get.h (1613B)


      1 /*
      2    This file is part of TALER
      3    Copyright (C) 2025 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_PENDING_DEPOSITS_GET_H
     17 #define TALER_AUDITOR_HTTPD_PENDING_DEPOSITS_GET_H
     18 
     19 #include <gnunet/gnunet_util_lib.h>
     20 #include <microhttpd.h>
     21 #include "taler-auditor-httpd.h"
     22 
     23 /**
     24  * Handle a GET "/pending-deposits" request.
     25  *
     26  * @param rh context of the handler
     27  * @param connection the MHD connection to handle
     28  * @param[in,out] connection_cls the connection's closure (can be updated)
     29  * @param upload_data upload data
     30  * @param[in,out] upload_data_size number of bytes (left) in @a upload_data
     31  * @param args NULL-terminated array of remaining parts of the URI broken up at '/'
     32  * @return MHD result code
     33  */
     34 MHD_RESULT
     35 TAH_pending_deposits_handler_get (
     36   struct TAH_RequestHandler *rh,
     37   struct MHD_Connection *connection,
     38   void **connection_cls,
     39   const char *upload_data,
     40   size_t *upload_data_size,
     41   const char *const args[]);
     42 
     43 
     44 #endif // TALER_AUDITOR_HTTPD_PENDING_DEPOSITS_GET_H