Extract the header from a buffer of packed transport data
PhTransportHdr_t *PhGetTransportHdr( PhTransportHdr_t *hdr, char *buffer );
ph
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.
The same pointer as hdr.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PhGetAllTransportHdrs(), PhGetNextTransportHdr(), PhLocateTransHdr(), PhReleaseTransportHdrs(), PhUnlinkTransportHdr()
Drag and Drop chapter of the Photon Programmer's Guide