summaryrefslogtreecommitdiffstats
path: root/src/providers/dp_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/dp_backend.h')
-rw-r--r--src/providers/dp_backend.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/providers/dp_backend.h b/src/providers/dp_backend.h
index f1069d0db..d657af18b 100644
--- a/src/providers/dp_backend.h
+++ b/src/providers/dp_backend.h
@@ -103,6 +103,8 @@ struct bet_ops {
be_req_fn_t finalize;
};
+#define MAX_BE_REQ_RESTARTS 2
+
struct be_req {
struct be_client *becli;
struct be_ctx *be_ctx;
@@ -110,6 +112,8 @@ struct be_req {
be_async_callback_t fn;
void *pvt;
+
+ int restarts;
};
struct be_acct_req {