NAME
netmgt_register_rendez - register with the event dispatcher
SYNOPSIS
bool_t
netmgt_register_rendez(event_host, rendez_host, rendez_prog, rendez_vers, agent_prog, priority, timeout)
INPUT ARGUMENTS
event_host
name of the system where the event dispatcher is running.
rendez_host
name of the system where the rendezvous is running.
rendez_prog
RPC program number of the rendezvous.
rendez_vers
RPC version number of the rendezvous.
agent_prog
RPC program number of the agent of interest. If agent_prog is NETMGT_ANY_AGENT, event reports from all agents will be sent. If agent_prog is NETMGT_DBMGR_PROG, only trap reports that indicate the addition, modification, or deletion of elements in the runtime database will be sent.
event_priority
lowest priority of event reports the rendezvous process wants to receive. priority can be one of three values: NETMGT_LOW_PRIORITY, NETMGT_MEDIUM_PRIORITY or NETMGT_HIGH_PRIORITY.
timeout
maximum time to wait for confirmation from the event dispatcher.
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).