[Previous] [Contents] [Index] [Next]

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

PhGetTransportHdr()

Extract the header from a buffer of packed transport data

Synopsis:

PhTransportHdr_t *PhGetTransportHdr( 
                     PhTransportHdr_t *hdr,  
                     char *buffer );

Library:

ph

Description:

This function extracts the header from the given buffer of packed transport data, storing the header in the structure pointed to by hdr. PhGetTransportHdr() is used by the recipient of the transport operation to get instructions for unpacking the data that follows the header in the buffer.

Returns:

The same pointer as hdr.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhGetAllTransportHdrs(), PhGetNextTransportHdr(), PhLocateTransHdr(), PhReleaseTransportHdrs(), PhUnlinkTransportHdr()

Drag and Drop chapter of the Photon Programmer's Guide


[Previous] [Contents] [Index] [Next]