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/phgetnexttransporthdr.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/phgetnexttransporthdr.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/phgetnexttransporthdr.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/phgetnexttransporthdr.html on line 8

PhGetNextTransportHdr()

Get the next header from a buffer of packed transport data

Synopsis:

PhTransportHdr_t * PhGetNextTransportHdr(
                      PhTransportHdr_t *last_hdr,
                      PhTransportHdr_t *trans_hdr );

Library:

ph

Description:

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.

Returns:

The same pointer as trans_hdr, or NULL if there isn't another header in the buffer.

Errors:

EINVAL
The structure pointed to by last_hdr has a NULL buffer pointer.
ENOENT
The size of the buffer in the structure pointed to by trans_hdr is 0, or there's no entry for the header in the transport registry.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhGetAllTransportHdrs(), PhGetTransportHdr(), 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/phgetnexttransporthdr.html on line 121

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/phgetnexttransporthdr.html on line 121