OmniRpcInit

Name

OmniRpcInit --  Initialization of OmniRPC system

Synopsis

#include <OmniRpc.h>

void OmniRpcInit(int *argc, char **argv[]);

Description

Initializes OmniRPC System. Sets argc by the argc pointer of the main function, sets argv by the argv pointer of it. This should be called before processing the argument information. In initialization, it uses the hostfile which is specified in the command line "--hostfile" or the hostfile on "$HOME/.omrpc-registry/hosts.xml" if not specified. It reads the hostfile and executes omrpc-agent on the host which are used. And, it reads registry information about the remote executable programs which are registered on the each host.