GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  LIBNUTCLIENT_MISC (3)

.ds Aq ’

NAME

libnutclient_misc, nutclient_authenticate, nutclient_logout, nutclient_device_login, nutclient_get_device_num_logins, nutclient_device_master, nutclient_device_forced_shutdown - Miscelaneous functions in Network UPS Tools high-level client access library

CONTENTS

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_master(NUTCLIENT_t client, const char* dev);
void nutclient_device_forced_shutdown(NUTCLIENT_t client, const char* dev);

DESCRIPTION

The nutclient_authenticate() function authenticate the user.

login is the user name.

passwd is the user password.

The nutclient_logout() function disconnect gracefully from the server.

The nutclient_device_login() function log the fact that a system is drawing power from this UPS.

The nutclient_get_device_num_logins() function retrieve the number of clients which have been logged for this device.

The nutclient_device_master() function make sure that master-level 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)

Search for    or go to Top of page |  Section 3 |  Main Index


Network UPS Tools 2&.7&.3&. LIBNUTCLIENT_MISC (3) 03/02/2016

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.