PtUnlinkData()

Remove the provided data link from the data chain

Synopsis:

int PtUnlinkData( PtDataHdr_t **ptr, 
                  PtDataHdr_t *node );

Library:

ph

Description:

This function removes the provided data link from the data chain. The link is freed, but its data isn't.

Returns:

0 on success, or -1 if node couldn't be found in the data list.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtAddData(), PtFindData(), PtFindNextData(), PtRemoveData()