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

NAME

netmgt_kill_request2 - terminate requests started by one manager

SYNOPSIS

bool_t
netmgt_kill_request2(agent_host, agent_prog, agent_vers,
                        manager_host, manager_id, timeout)
        char    * agent_host;
        u_long agent_prog;
        u_long agent_vers;
        char    * manager_host;
        u_int manager_id;
        struct  timeval timeout;

DESCRIPTION

netmgt_kill_request2 terminates all requests running on agent_host for the agent with RPC program number agent_prog and RPC version number agent_vers, started by a manager process on manager_host with manager ID manager_id.

INPUT ARGUMENTS

agent_host
name of the system where the request is running.
agent_prog
agent's RPC program number.
agent_vers
agent's RPC version number.
manager_host
name of the system where the request was started.
manager_id
manager ID indicating which manager application started the request.
timeout maximum amount of time to wait for a response from the remote system.

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).

SEE ALSO

netmgt_fetch_error(3N) netmgt_set_manager_id(3N)