Generated from osm_node_desc_rcv_ctrl.h with ROBODoc vunknown on Wed Aug 07 15:31:45 2002
TABLE OF CONTENTS
- OpenSM/Node Description Receive Controller
- OpenSM: Node Description Receive Controller/osm_nd_rcv_ctrl_t
- OpenSM: Node Description Receive Controller/osm_nd_rcv_ctrl_construct
- OpenSM: Node Description Receive Controller/osm_nd_rcv_ctrl_destroy
- OpenSM: Node Description Receive Controller/osm_nd_rcv_ctrl_init
NAME
Node Description Receive Controller
DESCRIPTION
The Node Description Receive Controller object encapsulates the information
needed to receive the NodeDescription attribute from a node.
The Node Description Receive Controller object is thread safe.
This object should be treated as opaque and should be
manipulated only through the provided functions.
AUTHOR
Steve King, Intel
NAME
osm_nd_rcv_ctrl_t
DESCRIPTION
Node Description Receive Controller structure.
This object should be treated as opaque and should
be manipulated only through the provided functions.
SYNOPSIS
typedef struct _osm_nd_rcv_ctrl
{
osm_nd_rcv_t *p_rcv;
osm_log_t *p_log;
cl_dispatcher_t *p_disp;
cl_disp_reg_handle_t h_disp;
} osm_nd_rcv_ctrl_t;
FIELDS
base
OpenSM base object.
p_rcv
Pointer to the Node Description 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 Description Receive Controller object
NAME
osm_nd_rcv_ctrl_construct
DESCRIPTION
This function constructs a Node Description Receive Controller object.
SYNOPSIS
void
osm_nd_rcv_ctrl_construct(
IN osm_nd_rcv_ctrl_t* const p_ctrl );
PARAMETERS
p_ctrl
[in] Pointer to a Node Description Receive Controller object to construct.
RETURN VALUE
This function does not return a value.
NOTES
Allows calling osm_nd_rcv_ctrl_init, osm_nd_rcv_ctrl_destroy,
and osm_nd_rcv_ctrl_is_inited.
Calling osm_nd_rcv_ctrl_construct is a prerequisite to calling any other
method except osm_nd_rcv_ctrl_init.
SEE ALSO
Node Description Receive Controller object, osm_nd_rcv_ctrl_init,
osm_nd_rcv_ctrl_destroy, osm_nd_rcv_ctrl_is_inited
NAME
osm_nd_rcv_ctrl_destroy
DESCRIPTION
The osm_nd_rcv_ctrl_destroy function destroys the object, releasing
all resources.
SYNOPSIS
void
osm_nd_rcv_ctrl_destroy(
IN osm_nd_rcv_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 Description Receive Controller object.
Further operations should not be attempted on the destroyed object.
This function should only be called after a call to
osm_nd_rcv_ctrl_construct or osm_nd_rcv_ctrl_init.
SEE ALSO
Node Description Receive Controller object, osm_nd_rcv_ctrl_construct,
osm_nd_rcv_ctrl_init
NAME
osm_nd_rcv_ctrl_init
DESCRIPTION
The osm_nd_rcv_ctrl_init function initializes a
Node Description Receive Controller object for use.
SYNOPSIS
ib_api_status_t
osm_nd_rcv_ctrl_init(
IN osm_nd_rcv_ctrl_t* const p_ctrl,
IN osm_nd_rcv_t* const p_rcv,
IN osm_log_t* const p_log,
IN cl_dispatcher_t* const p_disp );
PARAMETERS
p_ctrl
[in] Pointer to an osm_nd_rcv_ctrl_t object to initialize.
p_rcv
[in] Pointer to an osm_nd_rcv_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 Description Receive Controller object was initialized
successfully.
NOTES
Allows calling other Node Description Receive Controller methods.
SEE ALSO
Node Description Receive Controller object, osm_nd_rcv_ctrl_construct,
osm_nd_rcv_ctrl_destroy