grpc_function_handle_default
- Initializes a function handle.
grpc_error_t grpc_function_handle_default(
grpc_function_handle_t *handle,
char *func_name)
grpc_function_handle_t *handle
char *func_name
The grpc_function_handle_default() function initializes a function handle. For the remote host name, the default remote host name specified in the configuration file is used.
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