Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PhGetNextInlineData()

Get the data for the next entry in a linked list of transport data

Synopsis:

void * PhGetNextInlineData(
          PhTransportCtrl_t *ctrl,
          PhTransportLink_t *current,
          PhTransportLink_t **new_link );

Library:

ph

Description:

PhGetNextInlineData() gets the inline data for the next entry in the linked list belonging to the control structure pointed to by ctrl. The current argument is a pointer to the PhTransportLink_t structure for the current entry in the list, or NULL to start at the beginning of the list. The memory pointed to by new_link is set to the address of the next entry, or NULL if the end of the list has been reached.

Returns:

A pointer to the data stored in the next entry of the list, or NULL if the end of the list has been reached.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhCreateTransportCtrl(), PhReleaseTransportCtrl(), PhTransportCtrl_t, PhTransportLink_t

Drag and Drop chapter of the Photon Programmer's Guide