Site/SunNet/Domain Manager Reference Manual
この本のみを検索
PDF 文書ファイルをダウンロードする

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.