summaryrefslogtreecommitdiffstats
path: root/src/providers/fail_over.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/providers/fail_over.h')
-rw-r--r--src/providers/fail_over.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/providers/fail_over.h b/src/providers/fail_over.h
index a31ace21e..24b2c1f5f 100644
--- a/src/providers/fail_over.h
+++ b/src/providers/fail_over.h
@@ -100,6 +100,11 @@ int fo_get_service(struct fo_ctx *ctx,
struct fo_service **_service);
/*
+ * Get number of servers registered for the 'service'.
+ */
+int fo_get_server_count(struct fo_service *service);
+
+/*
* Adds a server 'name' to the 'service'. Port 'port' will be used for
* connection. If 'name' is NULL, no server resolution will be done.
*/