summaryrefslogtreecommitdiff
path: root/lib/jsonrpc.h
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-11-05 10:22:18 -0700
committerBen Pfaff <blp@nicira.com>2010-11-05 10:22:18 -0700
commit94db54073ea372406d4d82a009301984b097bc6b (patch)
tree36ac98c7bccf5626f15174bef06489fddb1834f4 /lib/jsonrpc.h
parent928ef386127b45b8b0260b35cbdc8e0d24911a30 (diff)
downloadopenvswitch-94db54073ea372406d4d82a009301984b097bc6b.tar.gz
Add "Manager" and "manager_options" to allow options for OVSDB connections.
I'm retaining the "managers" column in the Open_vSwitch table for now, but I hope that applications transition to using "manager_options" eventually so that we could drop it. CC: Andrew Lambeth <wal@nicira.com> CC: Jeremy Stribling <strib@nicira.com>
Diffstat (limited to 'lib/jsonrpc.h')
-rw-r--r--lib/jsonrpc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/jsonrpc.h b/lib/jsonrpc.h
index 154c459af..d95148cbe 100644
--- a/lib/jsonrpc.h
+++ b/lib/jsonrpc.h
@@ -115,4 +115,9 @@ bool jsonrpc_session_is_connected(const struct jsonrpc_session *);
unsigned int jsonrpc_session_get_seqno(const struct jsonrpc_session *);
void jsonrpc_session_force_reconnect(struct jsonrpc_session *);
+void jsonrpc_session_set_max_backoff(struct jsonrpc_session *,
+ int max_backofF);
+void jsonrpc_session_set_probe_interval(struct jsonrpc_session *,
+ int probe_interval);
+
#endif /* jsonrpc.h */