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

NAME

6       nutscan_scan_avahi - Scan network for NUT services via mDNS
7

SYNOPSIS

9       #include <nut-scan.h>
10
11       nutscan_device_t * nutscan_scan_avahi(long usec_timeout);
12

DESCRIPTION

14       The nutscan_scan_avahi() function tries to detect the NUT service via
15       mDNS, and its associated devices. It uses the Avahi library to do so.
16
17       You MUST call nutscan_init(3) before using this function.
18
19       This function waits up to usec_timeout microseconds before considering
20       an IP address to be unresponsive.
21

RETURN VALUE

23       The nutscan_scan_avahi() function returns a pointer to a
24       nutscan_device_t structure containing all found devices. It returns
25       NULL if an error occurs, or if no device is found.
26

SEE ALSO

28       nutscan_init(3), nutscan_scan_usb(3), nutscan_scan_xml_http(3),
29       nutscan_scan_nut(3), nutscan_scan_snmp(3), nutscan_scan_ipmi(3),
30       nutscan_display_ups_conf(3), nutscan_display_parsable(3),
31       nutscan_new_device(3), nutscan_free_device(3),
32       nutscan_add_option_to_device(3), nutscan_add_device_to_device(3),
33       nutscan_cidr_to_ip(3), nutscan_scan_eaton_serial(3), http://avahi.org/
34
35
36
37Network UPS Tools 2.7.3.          03/02/2016             NUTSCAN_SCAN_AVAHI(3)
Impressum