1NUTSCAN_SCAN_XML_HTT(3) NUT Manual NUTSCAN_SCAN_XML_HTT(3)
2
3
4
6 nutscan_scan_xml_http - Scan network for XML/HTTP devices.
7
9 #include <nut-scan.h>
10
11 nutscan_device_t * nutscan_scan_xml_http(long usec_timeout);
12
14 The nutscan_scan_xml_http() function try to detect NUT compatible
15 XML/HTTP devices. It does this by issuing a broadcast message on
16 currently configured network interfaces. It waits up to usec_timeout
17 microseconds for a response from potential devices.
18
19 You MUST call nutscan_init(3) before using this function.
20
22 The nutscan_scan_xml_http() function returns a pointer to a
23 nutscan_device_t structure containing all found devices or NULL if an
24 error occurs or no device is found.
25
27 nutscan_init(3), nutscan_scan_usb(3), nutscan_scan_snmp(3),
28 nutscan_scan_nut(3), nutscan_scan_avahi(3), nutscan_scan_ipmi(3),
29 nutscan_display_ups_conf(3), nutscan_display_parsable(3),
30 nutscan_new_device(3), nutscan_free_device(3),
31 nutscan_add_option_to_device(3), nutscan_add_device_to_device(3),
32 nutscan_scan_eaton_serial(3)
33
34
35
36Network UPS Tools 2.7.3. 03/02/2016 NUTSCAN_SCAN_XML_HTT(3)