NAME

grpc_handle_attr_set_np - Sets handle attributes.

SYNOPSIS

grpc_error_t grpc_handle_attr_set_np(grpc_handle_attr_t_np *attr, grpc_handle_attr_name_t_np name, void *value)

ARGUMENTS

grpc_handle_attr_t_np *attr
The handle attributes
grpc_handle_attr_name_t_np name
The names of the attributes to be set
void *value
The values to be set
typedef enum {                           /* Format for passing to value */
    GRPC_HANDLE_ATTR_HOSTNAME,          /* char */
    GRPC_HANDLE_ATTR_PORT,              /* int */
    GRPC_HANDLE_ATTR_JOBMANAGER,        /* char */
    GRPC_HANDLE_ATTR_SUBJECT,           /* char */
    GRPC_HANDLE_ATTR_FUNCNAME,          /* char */
    GRPC_HANDLE_ATTR_JOBSTARTTIMEOUT,   /* int */
    GRPC_HANDLE_ATTR_JOBSTOPTIMEOUT,    /* int */
    GRPC_HANDLE_ATTR_WAIT_ARG_TRANSFER, /* grpc_argument_transfer_t_np */
    GRPC_HANDLE_ATTR_QUEUENAME,         /* char */
    GRPC_HANDLE_ATTR_MPI_NCPUS,         /* int */
} grpc_handle_attr_name_t_np;

DESCRIPTION

The grpc_handle_attr_set_np() function sets the values of handle attributes.

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_OTHER_ERROR_CODE
Internal error detected.

last update : $Date: 2005/08/04 03:26:22 $