netmgt_save_attribute manual page
Table of Contents

NAME

netmgt_save_attribute - save a data attribute

SYNOPSIS

bool_t netmgt_save_attribute (
Netmgt_attr
*attr);

DESCRIPTION

netmgt_save_attribute copies information about a data attribute into the buffer pointed to by attr.

attr is a pointer to an object with the following structure:

typedef struct {

char
name [NETMGT_NAMESIZ]; /* attribute name */ u_int type; /* attribute type */ } Netmgt_attr ;

Parameters
name name of the attribute

type attribute data type

RETURN VALUE

TRUE if successful, otherwise FALSE.

DIAGNOSTICS

If FALSE is returned, global variable netmgt_errno indicates the error. The caller can get the reason for the error with netmgt_fetch_error(3n).

FILES

netmgt_arglist.h, netmgt_msg.h, netmgt_request.h

SEE ALSO

netmgt_fetch_error(3n),
netmgt_save_request(3n),
netmgt_save_argument(3n)

NOTE

Only agents may call this function.


Table of Contents