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:
parent
88d171d197
commit
9e50e8048a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user