Imported Upstream version 2.6.3

This commit is contained in:
Arnaud Quette 2012-01-24 11:22:33 +01:00
parent 45043b58d0
commit fad6ced6f6
255 changed files with 11081 additions and 4629 deletions

View file

@ -19,6 +19,7 @@
#ifndef NUT_SCAN_H
#define NUT_SCAN_H
#include <nutscan-init.h>
#include <nutscan-device.h>
#include <nutscan-ip.h>
@ -36,29 +37,19 @@ typedef struct nutscan_snmp {
} nutscan_snmp_t;
/* Scanning */
#ifdef HAVE_NET_SNMP_NET_SNMP_CONFIG_H
nutscan_device_t * nutscan_scan_snmp(const char * start_ip,const char * stop_ip,long usec_timeout, nutscan_snmp_t * sec);
#endif
#ifdef HAVE_USB_H
nutscan_device_t * nutscan_scan_usb();
#endif
#ifdef WITH_NEON
nutscan_device_t * nutscan_scan_xml_http(long usec_timeout);
#endif
nutscan_device_t * nutscan_scan_nut(const char * startIP, const char * stopIP, const char * port, long usec_timeout);
#ifdef HAVE_AVAHI_CLIENT_CLIENT_H
nutscan_device_t * nutscan_scan_avahi(long usec_timeout);
#endif
#ifdef HAVE_FREEIPMI_FREEIPMI_H
nutscan_device_t * nutscan_scan_ipmi(void);
#endif
/* Displaying */
/* Display functions */
void nutscan_display_ups_conf(nutscan_device_t * device);
void nutscan_display_parsable(nutscan_device_t * device);