1NUTSCAN_DISPLAY_PARS(3)           NUT Manual           NUTSCAN_DISPLAY_PARS(3)
2
3
4

NAME

6       nutscan_display_parsable - Display the specified `nutscan_device_t`
7       structure on stdout.
8

SYNOPSIS

10       #include <nut-scan.h>
11
12       void nutscan_display_parsable(nutscan_device_t * device);
13

DESCRIPTION

15       The nutscan_display_parsable() function displays all NUT devices in
16       device to stdout. It displays them in a way that can be easily parsed
17       which is:
18
19           <driver type>:driver="<driver name>",port="<port type>"[,<optional parameter 1>="<optional data 1>",<optional parameter 2>="<optional data 2>",...]
20
21       •   <driver type> may be one of USB, SNMP, XML, NUT, IPMI or AVAHI.
22
23       •   <driver name> is the name of the driver’s binary corresponding to
24           this device.
25
26       •   <port type> and <optional parameter X> depend on <driver name>, see
27           the corresponding driver’s man page.
28

SEE ALSO

30       nutscan_scan_usb(3), nutscan_scan_xml_http_range(3),
31       nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3),
32       nutscan_scan_snmp(3), nutscan_display_ups_conf(3),
33       nutscan_new_device(3), nutscan_free_device(3),
34       nutscan_add_option_to_device(3), nutscan_add_device_to_device(3),
35       nutscan_cidr_to_ip(3)
36
37
38
39Network UPS Tools 2.8.0           04/26/2022           NUTSCAN_DISPLAY_PARS(3)
Impressum