Generated from osm_sa_node_record_ctrl.h with ROBODoc vunknown on Wed Aug 07 15:31:49 2002

TABLE OF CONTENTS

  1. OpenSM/Node Info Receive Controller
  2. OpenSM: Node Info Receive Controller/osm_nr_ctrl_t
  3. OpenSM: Node Info Receive Controller/osm_nr_ctrl_construct
  4. OpenSM: Node Info Receive Controller/osm_nr_ctrl_destroy
  5. OpenSM: Node Info Receive Controller/osm_nr_ctrl_init
  6. OpenSM: Node Info Receive Controller/osm_nr_ctrl_is_inited

OpenSM/Node Info Receive Controller

NAME
    Node Info Receive Controller

DESCRIPTION
    The Node Info Receive Controller object encapsulates
    the information needed to receive the NodeInfo attribute from a node.

    The Node Info Receive Controller object is thread safe.

    This object should be treated as opaque and should be
    manipulated only through the provided functions.

AUTHOR
    Ranjit Pandit, Intel


OpenSM: Node Info Receive Controller/osm_nr_ctrl_t

NAME
    osm_nr_ctrl_t

DESCRIPTION
    Node Info Receive Controller structure.

    This object should be treated as opaque and should
    be manipulated only through the provided functions.

SYNOPSIS
typedef struct _osm_nr_ctrl
{
    osm_nr_t                *p_nr;
    osm_log_t                   *p_log;
    cl_dispatcher_t             *p_disp;
    cl_disp_reg_handle_t        h_disp;

} osm_nr_ctrl_t;

FIELDS
    base
        OpenSM base object.

    p_rcv
        Pointer to the Node Info Receiver object.

    p_log
        Pointer to the log object.

    p_disp
        Pointer to the Dispatcher.

    h_disp
        Handle returned from dispatcher registration.

SEE ALSO
    Node Info Receive Controller object
    Node Info Receiver object

OpenSM: Node Info Receive Controller/osm_nr_ctrl_construct

NAME
    osm_nr_ctrl_construct

DESCRIPTION
    This function constructs a Node Info Receive Controller object.

SYNOPSIS
void osm_nr_ctrl_construct(
    IN osm_nr_ctrl_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to a Node Info Receive Controller
        object to construct.

RETURN VALUE
    This function does not return a value.

NOTES
    Allows calling osm_nr_ctrl_init, osm_nr_ctrl_destroy,
    and osm_nr_ctrl_is_inited.

    Calling osm_nr_ctrl_construct is a prerequisite to calling any other
    method except osm_nr_ctrl_init.

SEE ALSO
    Node Info Receive Controller object, osm_nr_ctrl_init,
    osm_nr_ctrl_destroy, osm_nr_ctrl_is_inited

OpenSM: Node Info Receive Controller/osm_nr_ctrl_destroy

NAME
    osm_nr_ctrl_destroy

DESCRIPTION
    The osm_nr_ctrl_destroy function destroys the object, releasing
    all resources.

SYNOPSIS
void osm_nr_ctrl_destroy(
    IN osm_nr_ctrl_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to the object to destroy.

RETURN VALUE
    This function does not return a value.

NOTES
    Performs any necessary cleanup of the specified
    Node Info Receive Controller object.
    Further operations should not be attempted on the destroyed object.
    This function should only be called after a call to
    osm_nr_ctrl_construct or osm_nr_ctrl_init.

SEE ALSO
    Node Info Receive Controller object, osm_nr_ctrl_construct,
    osm_nr_ctrl_init

OpenSM: Node Info Receive Controller/osm_nr_ctrl_init

NAME
    osm_nr_ctrl_init

DESCRIPTION
    The osm_nr_ctrl_init function initializes a
    Node Info Receive Controller object for use.

SYNOPSIS
ib_api_status_t osm_nr_ctrl_init(
    IN osm_nr_ctrl_t* const p_ctrl,
    IN osm_nr_t* const p_nr,
    IN osm_log_t* const p_log,
    IN cl_dispatcher_t* const p_disp );

PARAMETERS
    p_ctrl
        [in] Pointer to an osm_nr_ctrl_t object to initialize.

    p_rcv
        [in] Pointer to an osm_nr_t object.

    p_log
        [in] Pointer to the log object.

    p_disp
        [in] Pointer to the OpenSM central Dispatcher.

RETURN VALUES
    CL_SUCCESS if the Node Info Receive Controller object was initialized
    successfully.

NOTES
    Allows calling other Node Info Receive Controller methods.

SEE ALSO
    Node Info Receive Controller object, osm_nr_ctrl_construct,
    osm_nr_ctrl_destroy, osm_nr_ctrl_is_inited

OpenSM: Node Info Receive Controller/osm_nr_ctrl_is_inited

NAME
    osm_nr_ctrl_is_inited

DESCRIPTION
    Indicates if the object has been initialized with osm_nr_ctrl_init.

SYNOPSIS
boolean_t osm_nr_ctrl_is_inited(
    IN const osm_nr_ctrl_t* const p_ctrl );

PARAMETERS
    p_ctrl
        [in] Pointer to an osm_nr_ctrl_t object.

RETURN VALUES
    TRUE if the object was initialized successfully,
    FALSE otherwise.

NOTES
    The osm_nr_ctrl_construct or osm_nr_ctrl_init must be
    called before using this function.

SEE ALSO
    Node Info Receive Controller object, osm_nr_ctrl_construct,
    osm_nr_ctrl_init