1LIBNUTCLIENT(3) NUT Manual LIBNUTCLIENT(3)
2
3
4
6 libnutclient - Network UPS Tools high-level client access library
7
9 #include <nutclient.h>
10
11 Refer to this file for more information.
12
14 The Network UPS Tools (NUT) nutclient library provides a number of
15 useful functions for programs to use when communicating with upsd(8).
16 It provides high-level representation of NUT data through client
17 connection, devices, variables and commands. Unlike upsclient(3), all
18 low-level protocol details are hidden.
19
20 State is maintained across calls in an opaque structure called
21 NUTCLIENT_t. Callers are expected to create one per client connection.
22 These will be provided to most of the nutclient functions. The format
23 of this structure is subject to change, and client programs must not
24 reference elements within it directly.
25
26 NUTCLIENT_t represents the common connection information. Derived
27 versions exist for each connection type (NUTCLIENT_TCP_t for TCP
28 connection; actually the unique connection type, NUTCLIENT_TCP_t can be
29 passed as NUTCLIENT_t parameter).
30
31 See the nutclient.h header for more information.
32
34 There is currently no specific mechanism around error handling.
35
37 libnutclient_devices(3) libnutclient_commands(3)
38 libnutclient_general(3) libnutclient_misc(3) libnutclient_tcp(3)
39 libnutclient_variables(3)
40
41
42
43Network UPS Tools 2.7.3. 03/02/2016 LIBNUTCLIENT(3)