8.9. release_filter()

DESCRIPTION

This function releases all the resources of a previously allocated section filter. The function should not be called while filtering is in progress on this section feed. After calling this function, the caller should not try to dereference the filter pointer.

SYNOPSIS

int release_filter ( dmx_section_feed_t⋆ feed, dmx_section_filter_t⋆ filter);

PARAMETERS

dmx_section_feed_t* feed

Pointer to the section feed API and instance data.

dmx_section_filter_t* filter

I/O Pointer to the instance data of a section filter.

RETURNS

0

The function was completed without errors.

-ENODEV

No such filter allocated.

-EINVAL

Bad parameter.