Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PhFreeTransportType()
Free data associated with a transport registry entry
Synopsis:
int PhFreeTransportType( void *data,
char *packing_type );
Library:
ph
Description:
This function assumes that the data pointed to by data is an allocated structure that's described by a transport registry entry for packing_type -- for more information, see PhTransportRegEntry_t.
All data associated with data is freed using the transport registry entry for packing_type.
Returns:
- 0
- Success.
- -1
- A type matching packing_type wasn't found.
Examples:
PhFreeTransportType( ptr, "PhImage" ); PhFreeTransportType( ptr, "files" );
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PhFindTransportType(), PhMallocUnpack(), PhPackEntry(), PhRegisterTransportType(), PhTransportRegEntry_t, PhTransportType(), PhUnpack()
Drag and Drop chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)