exchange

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

fakebank_twg_get_transfers.h (1938B)


      1 /*
      2   This file is part of TALER
      3   (C) 2024 Taler Systems SA
      4 
      5   TALER is free software; you can redistribute it and/or
      6   modify it under the terms of the GNU General Public License
      7   as published by the Free Software Foundation; either version 3,
      8   or (at your option) any later version.
      9 
     10   TALER is distributed in the hope that it will be useful,
     11   but WITHOUT ANY WARRANTY; without even the implied warranty of
     12   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     13   GNU General Public License for more details.
     14 
     15   You should have received a copy of the GNU General Public
     16   License along with TALER; see the file COPYING.  If not,
     17   see <http://www.gnu.org/licenses/>
     18 */
     19 /**
     20  * @file bank-lib/fakebank_twg_get_transfers.h
     21  * @brief routines to return outgoing transaction status
     22  * @author Christian Grothoff <christian@grothoff.org>
     23  */
     24 #ifndef FAKEBANK_TWG_GET_TRANSFERS_H
     25 #define FAKEBANK_TWG_GET_TRANSFERS_H
     26 
     27 #include "taler/taler_fakebank_lib.h"
     28 #include "taler/taler_bank_service.h"
     29 #include "taler/taler_mhd_lib.h"
     30 #include <gnunet/gnunet_mhd_compat.h>
     31 #include "fakebank.h"
     32 
     33 
     34 /**
     35  * Handle incoming HTTP request for /transfers
     36  *
     37  * @param h the fakebank handle
     38  * @param connection the connection
     39  * @param account which account the request is about
     40  * @param con_cls closure for request
     41  */
     42 MHD_RESULT
     43 TALER_FAKEBANK_twg_get_transfers_ (
     44   struct TALER_FAKEBANK_Handle *h,
     45   struct MHD_Connection *connection,
     46   const char *account,
     47   void **con_cls);
     48 
     49 
     50 /**
     51  * Handle incoming HTTP request for /transfers/$ID
     52  *
     53  * @param h the fakebank handle
     54  * @param connection the connection
     55  * @param account which account the request is about
     56  * @param id the transfer ID the request is about
     57  * @param con_cls closure for request
     58  */
     59 MHD_RESULT
     60 TALER_FAKEBANK_twg_get_transfers_id_ (
     61   struct TALER_FAKEBANK_Handle *h,
     62   struct MHD_Connection *connection,
     63   const char *account,
     64   const char *id,
     65   void **con_cls);
     66 
     67 
     68 #endif