diff options
Diffstat (limited to 'src/backend/taler-merchant-httpd.h')
-rw-r--r-- | src/backend/taler-merchant-httpd.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-httpd.h b/src/backend/taler-merchant-httpd.h index 42d86d3f..f4c1b64b 100644 --- a/src/backend/taler-merchant-httpd.h +++ b/src/backend/taler-merchant-httpd.h @@ -79,6 +79,12 @@ struct TMH_WireMethod /** + * A pending GET /orders request that is in long polling mode. + */ +struct TMH_PendingOrder; + + +/** * Information that defines a merchant "instance". That way, a single * backend can account for several merchants, as used to do in donation * shops @@ -97,6 +103,16 @@ struct TMH_MerchantInstance struct TMH_WireMethod *wm_tail; /** + * Head of DLL of long-polling GET /orders requests of this instance. + */ + struct TMH_PendingOrder *po_head; + + /** + * Tail of DLL of long-polling GET /orders requests of this instance. + */ + struct TMH_PendingOrder *po_tail; + + /** * Merchant's private key. */ struct TALER_MerchantPrivateKeyP merchant_priv; |