diff options
author | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-18 07:57:19 +0000 |
---|---|---|
committer | james <james@e7ae566f-a301-0410-adde-c780ea21d3b5> | 2008-12-18 07:57:19 +0000 |
commit | 4fb4ce12d90abf43f96af67dd308124742b59961 (patch) | |
tree | 00e619d26e38e41cb8f48d93dced3bd7061c6c2e /manage.h | |
parent | Added MultiFileExtract capability to Windows Installer. (diff) | |
download | openvpn-4fb4ce12d90abf43f96af67dd308124742b59961.tar.xz |
Added "nclients" command to management interface to
display the current number of authenticated clients
connected to the server.
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@3717 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r-- | manage.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -154,6 +154,7 @@ struct management_callback int (*kill_by_cn) (void *arg, const char *common_name); int (*kill_by_addr) (void *arg, const in_addr_t addr, const int port); void (*delete_event) (void *arg, event_t event); + int (*n_clients) (void *arg); #ifdef MANAGEMENT_DEF_AUTH bool (*kill_by_cid) (void *arg, const unsigned long cid); bool (*client_auth) (void *arg, |