NAME
netmgt_set_value - append a set argument to the request
SYNOPSIS
bool_t
netmgt_set_value(setval)
Netmgt_setval *setval;
DESCRIPTION
netmgt_set_value specifies a set request argument to be sent to the agent. setval points to the buffer that contains the set request argument. This function should be called once for each attribute to be set.
INPUT ARGUMENTS
setval
pointer to a structure with the following fields:
group
the group or table containing the attribute to set.
key table key. A key is only required when setting an attribute in one row of a table.
name attribute name.
type argument type code, as defined in netmgt_arglist.h.
length
length of the argument value, in bytes.
value
argument value buffer. The value's internal representation is described by type.
RETURN VALUE
TRUE if successful, otherwise FALSE.
DIAGNOSTICS
If FALSE is returned, global variable netmgt_error indicates the error. The caller can get the reason for the error with netmgt_fetch_error(3n).
FILES
netmgt_arglist.h