<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>PulseAudio: version.h File Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.5 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="classes.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> </div> <div class="contents"> <h1>version.h File Reference</h1>Define header version. <a href="#_details">More...</a> <p> <p> <a href="version_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#ebde117e52b7ee3756e82c457de5fbbf">pa_get_headers_version</a>() ("0.9.9")</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the version of the header files. <a href="#ebde117e52b7ee3756e82c457de5fbbf"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#d6e5ba6cb1cde5ade639e7b80c7f8317">PA_API_VERSION</a> 11</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current API version. <a href="#d6e5ba6cb1cde5ade639e7b80c7f8317"></a><br></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#cc826a7556d2843c555660772ffba1d2">PA_PROTOCOL_VERSION</a> 12</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">The current protocol version. <a href="#cc826a7556d2843c555660772ffba1d2"></a><br></td></tr> <tr><td colspan="2"><br><h2>Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">const char * </td><td class="memItemRight" valign="bottom"><a class="el" href="version_8h.html#b257a40a36b29b77452957a130b6c076">pa_get_library_version</a> (void)</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Return the version of the library the current application is linked to. <a href="#b257a40a36b29b77452957a130b6c076"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Define header version. <p> <hr><h2>Define Documentation</h2> <a class="anchor" name="d6e5ba6cb1cde5ade639e7b80c7f8317"></a><!-- doxytag: member="version.h::PA_API_VERSION" ref="d6e5ba6cb1cde5ade639e7b80c7f8317" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PA_API_VERSION 11 </td> </tr> </table> </div> <div class="memdoc"> <p> The current API version. <p> Version 6 relates to Polypaudio 0.6. Prior versions (i.e. Polypaudio 0.5.1 and older) have PA_API_VERSION undefined. </div> </div><p> <a class="anchor" name="ebde117e52b7ee3756e82c457de5fbbf"></a><!-- doxytag: member="version.h::pa_get_headers_version" ref="ebde117e52b7ee3756e82c457de5fbbf" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define pa_get_headers_version </td> <td>(</td> </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"> ("0.9.9")</td> </tr> </table> </div> <div class="memdoc"> <p> Return the version of the header files. <p> Keep in mind that this is a macro and not a function, so it is impossible to get the pointer of it. <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="pacat_8c-example.html#a83">pacat.c</a>, and <a class="el" href="paplay_8c-example.html#a44">paplay.c</a>.</dl> </div> </div><p> <a class="anchor" name="cc826a7556d2843c555660772ffba1d2"></a><!-- doxytag: member="version.h::PA_PROTOCOL_VERSION" ref="cc826a7556d2843c555660772ffba1d2" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define PA_PROTOCOL_VERSION 12 </td> </tr> </table> </div> <div class="memdoc"> <p> The current protocol version. <p> Version 8 relates to Polypaudio 0.8/PulseAudio 0.9. <dl class="since" compact><dt><b>Since:</b></dt><dd>0.8 </dd></dl> </div> </div><p> <hr><h2>Function Documentation</h2> <a class="anchor" name="b257a40a36b29b77452957a130b6c076"></a><!-- doxytag: member="version.h::pa_get_library_version" ref="b257a40a36b29b77452957a130b6c076" args="(void)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">const char* pa_get_library_version </td> <td>(</td> <td class="paramtype">void </td> <td class="paramname"> </td> <td> ) </td> <td width="100%"></td> </tr> </table> </div> <div class="memdoc"> <p> Return the version of the library the current application is linked to. <p> <dl compact><dt><b>Examples: </b></dt><dd> <a class="el" href="pacat_8c-example.html#a84">pacat.c</a>, and <a class="el" href="paplay_8c-example.html#a45">paplay.c</a>.</dl> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Wed Mar 26 12:02:40 2008 for PulseAudio by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.5 </small></address> </body> </html>