nutscan_add_option_to_device man page on Mageia

Man page or keyword search:  
man Server   17783 pages
apropos Keyword Search (all sections)
Output format
Mageia logo
[printable version]

NUTSCAN_ADD_OPTION_T(3)		  NUT Manual	       NUTSCAN_ADD_OPTION_T(3)

NAME
       nutscan_add_option_to_device - Add option data to the specified device.

SYNOPSIS
       #include <nut-scan.h>

       void nutscan_add_option_to_device(nutscan_device_t * device,char * option_name, char * value);

DESCRIPTION
       The nutscan_device_t contains the following variables:

	   nutscan_device_type_t   type;
	   char *	   driver;
	   char *	   port;
	   nutscan_options_t	   opt;
	   struct nutscan_device * prev;
	   struct nutscan_device * next;

       This is a double linked list of device. Each device is described by its
       type, its driver name, its port and any number of optional data.

       The nutscan_add_option_to_device() adds an optional data in the given
       devcie. Optional data are made of an option_name and an associated
       value. Copies of option_name and value are stored in the device, so the
       caller can safely free both of them.

SEE ALSO
       nutscan_scan_usb(3), nutscan_scan_xml_http(3), nutscan_scan_nut(3),
       nutscan_scan_avahi(3), nutscan_scan_ipmi(3), nutscan_scan_snmp(3),
       nutscan_display_ups_conf(3), nutscan_display_parsable(3),
       nutscan_new_device(3), nutscan_free_device(3),
       nutscan_add_device_to_device(3)

Network UPS Tools		  08/08/2012	       NUTSCAN_ADD_OPTION_T(3)
[top]

List of man pages available for Mageia

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net