PhFindTransportType()

Find a transport type in the transport registry

Synopsis:

PhTransportRegEntry_t * 
   PhFindTransportType( char *packing_type );

Library:

ph

Description:

PhFindTransportType() finds the transport type matching packing_type within the transport registry.

Returns:

A pointer to a PhTransportRegEntry_t structure that describes the requested packing_type, which can be used in functions (such as PhPackEntry()) that require a PhTransportRegEntry_t as a parameter, or NULL if no entry for packing_type was found.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhFreeTransportType(), PhMallocUnpack(), PhPackEntry(), PhRegisterTransportType(), PhTransportRegEntry_t, PhTransportType(), PhUnpack()

Drag and Drop chapter of the Photon Programmer's Guide