grpc_function_handle_init
- Initializes a function handle.
INTEGER FUNCTION GRPC_FUNCTION_HANDLE_INIT(HANDLE, SERV_NAME, FUNC_NAME)
INTEGER(KIND=8) HANDLE
CHARACTER(*) SERV_NAME
CHARACTER(*) FUNC_NAME
The GRPC_FUNCTION_HANDLE_INIT() function initializes a function handle.
If a user defines tag name in <SERVER> section, tag name can be specified in the SERV_NAME argument.
The API searches corresponding tag name in a client configuration file. If the tag name is not found, the API searches corresponding server name. The first match will be selected if multiple sections have the same host name.
This function is MT-safe.
If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.
GRPC_NOT_INITIALIZED
GRPC_SERVER_NOT_FOUND
GRPC_FUNCTION_NOT_FOUND
GRPC_RPC_REFUSED
GRPC_OTHER_ERROR_CODE