1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>release_filter()</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="LINUX MEDIA INFRASTRUCTURE API"><link rel="up" href="dvb_kdapi.html" title="Chapter&#160;15.&#160;Kernel Demux API"><link rel="prev" href="ch15s08.html" title="allocate_filter()"><link rel="next" href="ch15s10.html" title="start_filtering()"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">release_filter()</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch15s08.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;15.&#160;Kernel Demux API</th><td width="20%" align="right">&#160;<a accesskey="n" href="ch15s10.html">Next</a></td></tr></table><hr></div><div class="section"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1131024828"></a>release_filter()</h2></div></div></div><p>DESCRIPTION
2</p><div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td align="char">
3<p>This function releases all the resources of a previously allocated section filter.
4 The function should not be called while filtering is in progress on this section
5 feed. After calling this function, the caller should not try to dereference the
6 filter pointer.</p>
7</td></tr></tbody></table></div><p>SYNOPSIS
8</p><div class="informaltable"><table border="1"><colgroup><col></colgroup><tbody><tr><td align="char">
9<p>int release_filter ( dmx_section_feed_t&#8902; feed,
10 dmx_section_filter_t&#8902; filter);</p>
11</td></tr></tbody></table></div><p>PARAMETERS
12</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><tbody><tr><td align="char">
13<p>dmx_section_feed_t*
14 feed</p>
15</td><td align="char">
16<p>Pointer to the section feed API and instance data.</p>
17</td></tr><tr><td align="char">
18<p>dmx_section_filter_t*
19 filter</p>
20</td><td align="char">
21<p>I/O Pointer to the instance data of a section filter.</p>
22</td></tr></tbody></table></div><p>RETURNS
23</p><div class="informaltable"><table border="1"><colgroup><col><col></colgroup><tbody><tr><td align="char">
24<p>0</p>
25</td><td align="char">
26<p>The function was completed without errors.</p>
27</td></tr><tr><td align="char">
28<p>-ENODEV</p>
29</td><td align="char">
30<p>No such filter allocated.</p>
31</td></tr><tr><td align="char">
32<p>-EINVAL</p>
33</td><td align="char">
34<p>Bad parameter.</p>
35</td></tr></tbody></table></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch15s08.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="dvb_kdapi.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="ch15s10.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">allocate_filter()&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;start_filtering()</td></tr></table></div></body></html>
36