diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-09-11 23:58:33 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-09-11 23:58:33 +0200 |
commit | d12eb41bdf6af551c8af7c1c1fd2f6d2454a64e9 (patch) | |
tree | e60ee5d0c7cd193f4cdfe78bd4cd31e5725d157a /src/include/taler_util.h | |
parent | fad6728a3f36892bf3187fcddcabf5ae544bf56e (diff) | |
download | exchange-d12eb41bdf6af551c8af7c1c1fd2f6d2454a64e9.tar.xz |
implement long-polling on not kyc_ok for #9173
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r-- | src/include/taler_util.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/include/taler_util.h b/src/include/taler_util.h index b599ade76..3bb0b1c05 100644 --- a/src/include/taler_util.h +++ b/src/include/taler_util.h @@ -597,6 +597,34 @@ TALER_iban_validate (const char *iban); /** + * Possible choices for long-polling for the deposit status. + */ +enum TALER_DepositGetLongPollTarget +{ + /** + * No long-polling. + */ + TALER_DGLPT_NONE = 0, + + /** + * Wait for KYC required/ACCEPTED state *or* for + * OK state. + */ + TALER_DGLPT_KYC_REQUIRED_OR_OK = 1, + + /** + * Wait for the OK-state only. + */ + TALER_DGLPT_OK = 2, + + /** + * Maximum allowed value. + */ + TALER_DGLPT_MAX = 2 +}; + + +/** * Possible choices for long-polling for the KYC status. */ enum TALER_EXCHANGE_KycLongPollTarget |