mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
Revert "rpc: Add virNetServerGetNClients"
This reverts commit 6bda9f8aa2cd07a3defda571c7d61401fd66c226. I mistakenly pushed it along with the Admin API series.
This commit is contained in:
parent
2cc6c652cf
commit
40082a7000
@ -99,7 +99,6 @@ virNetServerAddClient;
|
||||
virNetServerAddProgram;
|
||||
virNetServerAddService;
|
||||
virNetServerClose;
|
||||
virNetServerGetNClients;
|
||||
virNetServerHasClients;
|
||||
virNetServerKeepAliveRequired;
|
||||
virNetServerNew;
|
||||
|
@ -884,13 +884,3 @@ virNetServerStart(virNetServerPtr srv)
|
||||
|
||||
return virNetServerMDNSStart(srv->mdns);
|
||||
}
|
||||
|
||||
size_t
|
||||
virNetServerGetNClients(virNetServerPtr srv)
|
||||
{
|
||||
size_t ret = 0;
|
||||
virObjectLock(srv);
|
||||
ret = srv->nclients;
|
||||
virObjectUnlock(srv);
|
||||
return ret;
|
||||
}
|
||||
|
@ -90,6 +90,4 @@ void virNetServerUpdateServices(virNetServerPtr srv, bool enabled);
|
||||
|
||||
int virNetServerStart(virNetServerPtr srv);
|
||||
|
||||
size_t virNetServerGetNClients(virNetServerPtr srv);
|
||||
|
||||
#endif /* __VIR_NET_SERVER_H__ */
|
||||
|
Loading…
x
Reference in New Issue
Block a user