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

PhGetAllTransportHdrs()

Extract all the headers from a buffer of packed transport data

Synopsis:

PhTransportHdr_t * PhGetAllTransportHdrs(
                      char *buffer,
                      int unsigned buffer_size );

Library:

ph

Description:

PhGetAllTransportHdrs() extracts all the headers from the given buffer of packed transport data and puts them into a linked list. The buffer_size argument specifies the size of the buffer, in bytes.

Returns:

A pointer to the first entry in the linked list of transport headers.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhGetNextTransportHdr(), PhGetTransportHdr(), PhLocateTransHdr(), PhReleaseTransportHdrs(), PhUnlinkTransportHdr()

Drag and Drop chapter of the Photon Programmer's Guide