add batch withdraw to demultiplexer
This commit is contained in:
parent
3d80b20459
commit
a4ede7caec
@ -30,6 +30,7 @@
|
|||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#include "taler_mhd_lib.h"
|
#include "taler_mhd_lib.h"
|
||||||
#include "taler-exchange-httpd_auditors.h"
|
#include "taler-exchange-httpd_auditors.h"
|
||||||
|
#include "taler-exchange-httpd_batch-withdraw.h"
|
||||||
#include "taler-exchange-httpd_contract.h"
|
#include "taler-exchange-httpd_contract.h"
|
||||||
#include "taler-exchange-httpd_csr.h"
|
#include "taler-exchange-httpd_csr.h"
|
||||||
#include "taler-exchange-httpd_deposit.h"
|
#include "taler-exchange-httpd_deposit.h"
|
||||||
@ -71,6 +72,12 @@
|
|||||||
*/
|
*/
|
||||||
#define WITH_P2P 1
|
#define WITH_P2P 1
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Should the experimental batch withdraw be supported?
|
||||||
|
* ON for testing disable for 0.9.0 release!
|
||||||
|
*/
|
||||||
|
#define WITH_EXPERIMENTAL 1
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Backlog for listen operation on unix domain sockets.
|
* Backlog for listen operation on unix domain sockets.
|
||||||
*/
|
*/
|
||||||
@ -367,6 +374,12 @@ handle_post_reserves (struct TEH_RequestContext *rc,
|
|||||||
.op = "withdraw",
|
.op = "withdraw",
|
||||||
.handler = &TEH_handler_withdraw
|
.handler = &TEH_handler_withdraw
|
||||||
},
|
},
|
||||||
|
#if WITH_EXPERIMENTAL
|
||||||
|
{
|
||||||
|
.op = "batch-withdraw",
|
||||||
|
.handler = &TEH_handler_batch_withdraw
|
||||||
|
},
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
.op = "status",
|
.op = "status",
|
||||||
.handler = &TEH_handler_reserves_status
|
.handler = &TEH_handler_reserves_status
|
||||||
|
Loading…
Reference in New Issue
Block a user