mirror of
https://github.com/OpenVPN/openvpn3.git
synced 2024-09-19 19:52:15 +02:00
tunbase.hpp: add doxygen to apply_push_update()
Commit
adacc16
("push update: base implementation")
added apply_push_update() method to TunClient class
but didn't add doxygen comments. This adds missing
comments.
Signed-off-by: Lev Stipakov <lev@openvpn.net>
This commit is contained in:
parent
906434b237
commit
3d3e333c0e
@ -64,7 +64,18 @@ struct TunClient : public virtual RC<thread_unsafe_refcount>
|
||||
|
||||
virtual void adjust_mss(int mss){};
|
||||
|
||||
virtual void apply_push_update(const OptionList &, TransportClient &){};
|
||||
/**
|
||||
* @brief Notifies tun client about received PUSH_UPDATE control channel message.
|
||||
*
|
||||
* The merging of exiting and incoming options (including removing options)
|
||||
* happens before this call, so implementations are supposed to only undo
|
||||
* existing options and apply the new ones, normally by calling stop()
|
||||
* and tun_start().
|
||||
*
|
||||
* @param opt merged options, to be applied by implementation
|
||||
* @param cli transport client, passed to tun_start() call
|
||||
*/
|
||||
virtual void apply_push_update(const OptionList &opt, TransportClient &cli){};
|
||||
};
|
||||
|
||||
// Base class for parent of tun interface object, used to
|
||||
|
Loading…
Reference in New Issue
Block a user