Generated from osm_port_info_rcv_ctrl.h with ROBODoc vunknown on Wed Aug 07 15:31:48 2002
TABLE OF CONTENTS
- OpenSM/Port Info Receive Controller
- OpenSM: Port Info Receive Controller/osm_pi_rcv_ctrl_t
- OpenSM: Port Info Receive Controller/osm_pi_rcv_ctrl_construct
- OpenSM: Port Info Receive Controller/osm_pi_rcv_ctrl_destroy
- OpenSM: Port Info Receive Controller/osm_pi_rcv_ctrl_init
- OpenSM: Port Info Receive Controller/osm_pi_rcv_ctrl_is_inited
NAME
Port Info Receive Controller
DESCRIPTION
The Port Info Receive Controller object encapsulates
the information needed to receive the NodeInfo attribute from a node.
The Port Info 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_pi_rcv_ctrl_t
DESCRIPTION
Port Info Receive Controller structure.
This object should be treated as opaque and should
be manipulated only through the provided functions.
SYNOPSIS
typedef struct _osm_pi_rcv_ctrl
{
osm_pi_rcv_t *p_rcv;
osm_log_t *p_log;
cl_dispatcher_t *p_disp;
cl_disp_reg_handle_t h_disp;
} osm_pi_rcv_ctrl_t;
FIELDS
base
OpenSM base object.
p_rcv
Pointer to the Port 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
Port Info Receive Controller object
Port Info Receiver object
NAME
osm_pi_rcv_ctrl_construct
DESCRIPTION
This function constructs a Port Info Receive Controller object.
SYNOPSIS
void osm_pi_rcv_ctrl_construct(
IN osm_pi_rcv_ctrl_t* const p_ctrl );
PARAMETERS
p_ctrl
[in] Pointer to a Port Info Receive Controller
object to construct.
RETURN VALUE
This function does not return a value.
NOTES
Allows calling osm_pi_rcv_ctrl_init, osm_pi_rcv_ctrl_destroy,
and osm_pi_rcv_ctrl_is_inited.
Calling osm_pi_rcv_ctrl_construct is a prerequisite to calling any other
method except osm_pi_rcv_ctrl_init.
SEE ALSO
Port Info Receive Controller object, osm_pi_rcv_ctrl_init,
osm_pi_rcv_ctrl_destroy, osm_pi_rcv_ctrl_is_inited
NAME
osm_pi_rcv_ctrl_destroy
DESCRIPTION
The osm_pi_rcv_ctrl_destroy function destroys the object, releasing
all resources.
SYNOPSIS
void osm_pi_rcv_ctrl_destroy(
IN osm_pi_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
Port 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_pi_rcv_ctrl_construct or osm_pi_rcv_ctrl_init.
SEE ALSO
Port Info Receive Controller object, osm_pi_rcv_ctrl_construct,
osm_pi_rcv_ctrl_init
NAME
osm_pi_rcv_ctrl_init
DESCRIPTION
The osm_pi_rcv_ctrl_init function initializes a
Port Info Receive Controller object for use.
SYNOPSIS
ib_api_status_t osm_pi_rcv_ctrl_init(
IN osm_pi_rcv_ctrl_t* const p_ctrl,
IN osm_pi_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_pi_rcv_ctrl_t object to initialize.
p_rcv
[in] Pointer to an osm_pi_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 Port Info Receive Controller object was initialized
successfully.
NOTES
Allows calling other Port Info Receive Controller methods.
SEE ALSO
Port Info Receive Controller object, osm_pi_rcv_ctrl_construct,
osm_pi_rcv_ctrl_destroy, osm_pi_rcv_ctrl_is_inited
NAME
osm_pi_rcv_ctrl_is_inited
DESCRIPTION
Indicates if the object has been initialized with osm_pi_rcv_ctrl_init.
SYNOPSIS
boolean_t osm_pi_rcv_ctrl_is_inited(
IN const osm_pi_rcv_ctrl_t* const p_ctrl );
PARAMETERS
p_ctrl
[in] Pointer to an osm_pi_rcv_ctrl_t object.
RETURN VALUES
TRUE if the object was initialized successfully,
FALSE otherwise.
NOTES
The osm_pi_rcv_ctrl_construct or osm_pi_rcv_ctrl_init must be
called before using this function.
SEE ALSO
Port Info Receive Controller object, osm_pi_rcv_ctrl_construct,
osm_pi_rcv_ctrl_init