Man page - nutclient_logout(3)
Packages contas this manual
- libnutclient_commands(3)
- nutclient_tcp_get_timeout(3)
- nutclient_tcp_create_client(3)
- libnutclient_tcp(3)
- nutclient_device_master(3)
- nutclient_set_device_variable_value(3)
- libnutclient_variables(3)
- nutclient_tcp_reconnect(3)
- nutclient_has_device_variable(3)
- nutclient_tcp_is_connected(3)
- libnutclient_devices(3)
- nutclient_device_forced_shutdown(3)
- nutclient_get_device_variable_description(3)
- nutclient_get_device_commands(3)
- nutclient_logout(3)
- nutclient_has_device(3)
- nutclient_set_device_variable_values(3)
- nutclient_get_device_description(3)
- nutclient_get_devices(3)
- nutclient_device_login(3)
- libnutclient(3)
- nutclient_get_device_variables(3)
- nutclient_has_device_command(3)
- nutclient_get_device_variable_values(3)
- libnutclient_misc(3)
- nutclient_tcp_disconnect(3)
- nutclient_tcp_set_timeout(3)
- nutclient_authenticate(3)
- nutclient_execute_device_command(3)
- libnutclient_general(3)
- nutclient_get_device_rw_variables(3)
- nutclient_get_device_num_logins(3)
- nutclient_get_device_command_description(3)
- nutclient_destroy(3)
apt-get install libnutclient-dev
Manual
| LIBNUTCLIENT_MISC(3) | NUT Manual | LIBNUTCLIENT_MISC(3) |
NAME
libnutclient_misc, nutclient_authenticate, nutclient_logout, nutclient_device_login, nutclient_get_device_num_logins, nutclient_device_master, nutclient_device_forced_shutdown - Miscellaneous functions in Network UPS Tools high-level client access library
SYNOPSIS
#include <nutclient.h>
typedef void* NUTCLIENT_t;
void nutclient_authenticate(
NUTCLIENT_t client,
const char* login, const char* passwd);
void nutclient_logout(NUTCLIENT_t client);
void nutclient_device_login(NUTCLIENT_t client, const char* dev);
int nutclient_get_device_num_logins(NUTCLIENT_t client, const char* dev);
void nutclient_device_primary(NUTCLIENT_t client, const char* dev); /* OBSOLETED name: */ void nutclient_device_master(NUTCLIENT_t client, const char* dev);
void nutclient_device_forced_shutdown(NUTCLIENT_t client, const char* dev);
DESCRIPTION
The nutclient_authenticate() function authenticates the user.
The nutclient_logout() function disconnects gracefully from the server.
The nutclient_device_login() function logs the fact that a system is drawing power from this UPS.
The nutclient_get_device_num_logins() function retrieves the number of clients which have been logged for this device.
The nutclient_device_master() and nutclient_device_primary() (note: the former is obsoleted since NUT v2.8.0 in favor of the latter) functions make sure that primary-mode functions like FSD are available if necessary.
The nutclient_device_forced_shutdown() function sets the "forced shutdown" flag on the device.
dev is the device name.
SEE ALSO
libnutclient(3)
| 06/27/2025 | Network UPS Tools 2.8.1 |