On 11.05.2016 12:20, Erik Skultety wrote:
Add some trivial getters for client related attributes to
virnetserver before
any admin method can be introduced.
Signed-off-by: Erik Skultety <eskultet(a)redhat.com>
---
src/rpc/virnetserver.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
src/rpc/virnetserver.h | 5 +++++
2 files changed, 54 insertions(+)
diff --git a/src/rpc/virnetserver.h b/src/rpc/virnetserver.h
index 993bda7..a08cab0 100644
--- a/src/rpc/virnetserver.h
+++ b/src/rpc/virnetserver.h
@@ -111,4 +111,9 @@ virNetServerClientPtr virNetServerGetClient(virNetServerPtr srv,
int virNetServerGetClients(virNetServerPtr srv,
virNetServerClientPtr **clients);
+size_t virNetServerGetMaxClients(virNetServerPtr srv);
+size_t virNetServerGetCurrentClients(virNetServerPtr srv);
+size_t virNetServerGetMaxUnauthClients(virNetServerPtr srv);
+size_t virNetServerGetCurrentUnauthClients(virNetServerPtr srv);
+
#endif /* __VIR_NET_SERVER_H__ */
Don't forget to add these symbols to src/libvirt_remote.syms.
Michal