Get the next header from a buffer of packed transport data
PhTransportHdr_t * PhGetNextTransportHdr( PhTransportHdr_t *last_hdr, PhTransportHdr_t *trans_hdr );
ph
This function gets the next header out of a buffer of packed transport data. This header contains information needed to unpack the data that follows the header.
The last_hdr argument points to the last transport header that was unpacked, or to the beginning of the buffer. The information for the next header found is stored in the structure pointed to by trans_hdr.
The same pointer as trans_hdr, or NULL if there isn't another header in the buffer.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhGetAllTransportHdrs(), PhGetTransportHdr(), PhLocateTransHdr(), PhReleaseTransportHdrs(), PhUnlinkTransportHdr()
Drag and Drop chapter of the Photon Programmer's Guide