GRPC_FUNCTION_HANDLE_ARRAY_INIT_NP
- Initializes a function handle.
INTEGER FUNCTION GRPC_FUNCTION_HANDLE_ARRAY_INIT_NP(HANDLE, N, SERV_NAME, FUNC_NAME)
INTEGER(KIND=8) HANDLES(*)
INTEGER N
CHARACTER(*) SERV_NAME
CHARACTER(*) FUNC_NAME
The GRPC_FUNCTION_HANDLE_ARRAY_INIT_NP() function initializes the function handles.
The SERV_NAME argument can be specified as the same way with SERV_NAME argument in GRPC_FUNCTION_HANDLE_INIT().
This function is MT-safe.
The handle initialized by this function need to be destructed by GRPC_FUNCTION_HANDLE_ARRAY_DESTRUCT_NP(). GRPC_FUNCTION_HANDLE_DESTRUCT() must not be used.
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