0
0
mirror of https://github.com/OpenVPN/openvpn3.git synced 2024-09-20 12:12:15 +02:00

Added new methods to ManClientInstanceSend API: describe_user()

and disconnect_user().
This commit is contained in:
James Yonan 2015-06-27 16:32:19 -06:00
parent 88d171d197
commit 9e50e8048a

View File

@ -59,6 +59,14 @@ namespace openvpn {
// client float notification
virtual void float_notify(const PeerAddr::Ptr& addr) = 0;
// return a JSON string describing connected user
virtual std::string describe_user() = 0;
// disconnect
virtual void disconnect_user(const HaltRestart::Type type,
const std::string& reason,
const bool tell_client) = 0;
};
// Base class for the client instance receiver. Note that all