NAME
netmgt_save_threshold, netmgt_restore_threshold - save and restore event threshold
SYNOPSIS
bool_t
netmgt_save_threshold (name, threshold) char *name,
Netmgt_threshold *threshold;
bool_t
netmgt_restore_threshold (threshold)
Netmgt_threshold *threshold;
DESCRIPTION
netmgt_save_threshold copies information about an event threshold into the buffer pointed to by `threshold'.
netmgt_restore_threshold sets a threshold from the contents of the buffer pointed to by `threshold'.
typedef struct
{
name Name of the attribute on which the threshold is set
type Attribute data type
relopi
Threshold relational operator
thresh_len
Threshold value length
thresh_val
Threshold value buffer
prev_len
Previous attribute value length
prev_val
Previous attribute value
priority
Event priority
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