Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 8

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


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 97

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phgettransporthdr.html on line 97