NAME

grpc_function_handle_init_with_attr_np - Initializes a function handle.

SYNOPSIS

grpc_error_t grpc_function_handle_init_with_attr_np( grpc_function_handle_t *handle, grpc_handle_attr_t_np *attr)

ARGUMENTS

grpc_function_handle_t *handle
The function handle to be initialized
grpc_handle_attr_t_np *attr
The attributes of the handle

DESCRIPTION

The grpc_function_handle_init_with_attr_np() function initializes a function handle.

This function is MT-safe.

RETURN VALUE

If successful, GRPC_NO_ERROR is returned. In the case of an error, Error code is returned.

ERRORS

GRPC_NOT_INITIALIZED
GRPC client is not initialized yet.
GRPC_SERVER_NOT_FOUND
GRPC client cannot find any server.
GRPC_FUNCTION_NOT_FOUND
GRPC client cannot find the function on the default server.
GRPC_RPC_REFUSED
GRPC server refused the initialization.
GRPC_OTHER_ERROR_CODE
Internal error detected.

last update : $Date: 2010-04-16 01:09:23 +0900 (金, 16 4月 2010) $