diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-06-21 23:52:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-06-21 23:52:30 +0200 |
commit | 5d3bfab13a189a5f8a94ccadf257a6a612e618dc (patch) | |
tree | 696f6b036c78044f057ea77ca7754744f7dc8dfa /src/backend/taler-merchant-httpd.h | |
parent | e5c81bcae0e402877fc9b6c54f91ef9ef3267b67 (diff) | |
download | merchant-5d3bfab13a189a5f8a94ccadf257a6a612e618dc.tar.gz merchant-5d3bfab13a189a5f8a94ccadf257a6a612e618dc.tar.bz2 merchant-5d3bfab13a189a5f8a94ccadf257a6a612e618dc.zip |
add missing notifications to private-get-orders long poller
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; |