aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_util.h')
-rw-r--r--src/include/taler_util.h28
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