<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.3"/> <title>Audacious: index.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">Audacious  <span id="projectnumber">$Id:Doxyfile42802007-03-2104:39:00Znenolod$</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.3 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="files.html"><span>File List</span></a></li> <li><a href="globals.html"><span>File Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_539eecd099282e37732f96b8529d94e5.html">libaudcore</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="headertitle"> <div class="title">index.h</div> </div> </div><!--header--> <div class="contents"> <a href="index_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span> <span class="comment">/*</span></div> <div class="line"><a name="l00002"></a><span class="lineno"> 2</span> <span class="comment"> * index.h</span></div> <div class="line"><a name="l00003"></a><span class="lineno"> 3</span> <span class="comment"> * Copyright 2009-2011 John Lindgren</span></div> <div class="line"><a name="l00004"></a><span class="lineno"> 4</span> <span class="comment"> *</span></div> <div class="line"><a name="l00005"></a><span class="lineno"> 5</span> <span class="comment"> * Redistribution and use in source and binary forms, with or without</span></div> <div class="line"><a name="l00006"></a><span class="lineno"> 6</span> <span class="comment"> * modification, are permitted provided that the following conditions are met:</span></div> <div class="line"><a name="l00007"></a><span class="lineno"> 7</span> <span class="comment"> *</span></div> <div class="line"><a name="l00008"></a><span class="lineno"> 8</span> <span class="comment"> * 1. Redistributions of source code must retain the above copyright notice,</span></div> <div class="line"><a name="l00009"></a><span class="lineno"> 9</span> <span class="comment"> * this list of conditions, and the following disclaimer.</span></div> <div class="line"><a name="l00010"></a><span class="lineno"> 10</span> <span class="comment"> *</span></div> <div class="line"><a name="l00011"></a><span class="lineno"> 11</span> <span class="comment"> * 2. Redistributions in binary form must reproduce the above copyright notice,</span></div> <div class="line"><a name="l00012"></a><span class="lineno"> 12</span> <span class="comment"> * this list of conditions, and the following disclaimer in the documentation</span></div> <div class="line"><a name="l00013"></a><span class="lineno"> 13</span> <span class="comment"> * provided with the distribution.</span></div> <div class="line"><a name="l00014"></a><span class="lineno"> 14</span> <span class="comment"> *</span></div> <div class="line"><a name="l00015"></a><span class="lineno"> 15</span> <span class="comment"> * This software is provided "as is" and without any warranty, express or</span></div> <div class="line"><a name="l00016"></a><span class="lineno"> 16</span> <span class="comment"> * implied. In no event shall the authors be liable for any damages arising from</span></div> <div class="line"><a name="l00017"></a><span class="lineno"> 17</span> <span class="comment"> * the use of this software.</span></div> <div class="line"><a name="l00018"></a><span class="lineno"> 18</span> <span class="comment"> */</span></div> <div class="line"><a name="l00019"></a><span class="lineno"> 19</span> </div> <div class="line"><a name="l00020"></a><span class="lineno"> 20</span> <span class="preprocessor">#ifndef LIBAUDCORE_INDEX_H</span></div> <div class="line"><a name="l00021"></a><span class="lineno"> 21</span> <span class="preprocessor"></span><span class="preprocessor">#define LIBAUDCORE_INDEX_H</span></div> <div class="line"><a name="l00022"></a><span class="lineno"> 22</span> <span class="preprocessor"></span></div> <div class="line"><a name="l00023"></a><span class="lineno"> 23</span> <span class="keyword">struct </span><a class="code" href="struct__Index.html">_Index</a>;</div> <div class="line"><a name="l00024"></a><span class="lineno"> 24</span> <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="struct__Index.html">_Index</a> Index;</div> <div class="line"><a name="l00025"></a><span class="lineno"> 25</span> </div> <div class="line"><a name="l00026"></a><span class="lineno"> 26</span> Index * <a class="code" href="index_8c.html#ae561078e74084fd78cc3608c9aa5735b">index_new</a> (<span class="keywordtype">void</span>);</div> <div class="line"><a name="l00027"></a><span class="lineno"> 27</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a348f43d1fdee6d58ee19f14ee30eb212">index_free</a> (Index * index);</div> <div class="line"><a name="l00028"></a><span class="lineno"> 28</span> <span class="keywordtype">int</span> <a class="code" href="index_8c.html#a050ab2ba04f8440c2cebf98ac57d65d6">index_count</a> (Index * index);</div> <div class="line"><a name="l00029"></a><span class="lineno"> 29</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a2f9a683188e066873c17bbc38b2a956c">index_allocate</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#aef23986315ceb41c76df88db40c153d7">size</a>);</div> <div class="line"><a name="l00030"></a><span class="lineno"> 30</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#aebaffb2c3165fc437eee821190d3b568">index_set</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="playlist-api_8h.html#a9b77ffc728c31f7c2bfb388fb96e1e05">at</a>, <span class="keywordtype">void</span> * value);</div> <div class="line"><a name="l00031"></a><span class="lineno"> 31</span> <span class="keywordtype">void</span> * <a class="code" href="index_8c.html#a3ca93e9258e7c4be33ac965018717b53">index_get</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="playlist-api_8h.html#a9b77ffc728c31f7c2bfb388fb96e1e05">at</a>);</div> <div class="line"><a name="l00032"></a><span class="lineno"> 32</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a47b902bc24a6c9e5f51bcdfae437c79d">index_insert</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="playlist-api_8h.html#a9b77ffc728c31f7c2bfb388fb96e1e05">at</a>, <span class="keywordtype">void</span> * value);</div> <div class="line"><a name="l00033"></a><span class="lineno"> 33</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a7fa2bb8331310834ac42e789b60d7bb6">index_append</a> (Index * index, <span class="keywordtype">void</span> * value);</div> <div class="line"><a name="l00034"></a><span class="lineno"> 34</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#afe8bee5aa9133a0f81285a957f52aff8">index_copy_set</a> (Index * source, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#a62b017d3766f53106a7732cf592551cf">from</a>, Index * target, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#ad8e0aa430ac4f3c92bb182ef435bf245">to</a>, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#a0dee89eb1c7e5acc81c6ad3cb763eacb">count</a>);</div> <div class="line"><a name="l00035"></a><span class="lineno"> 35</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a3aa35b866474c8093639c93048166ea1">index_copy_insert</a> (Index * source, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#a62b017d3766f53106a7732cf592551cf">from</a>, Index * target, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#ad8e0aa430ac4f3c92bb182ef435bf245">to</a>, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#a0dee89eb1c7e5acc81c6ad3cb763eacb">count</a>);</div> <div class="line"><a name="l00036"></a><span class="lineno"> 36</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a1bf7b5d0839d437f984302df80830827">index_copy_append</a> (Index * source, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#a62b017d3766f53106a7732cf592551cf">from</a>, Index * target, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#a0dee89eb1c7e5acc81c6ad3cb763eacb">count</a>);</div> <div class="line"><a name="l00037"></a><span class="lineno"> 37</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a770870db4366140a96b7071ef1f30c76">index_merge_insert</a> (Index * first, <span class="keywordtype">int</span> <a class="code" href="playlist-api_8h.html#a9b77ffc728c31f7c2bfb388fb96e1e05">at</a>, Index * second);</div> <div class="line"><a name="l00038"></a><span class="lineno"> 38</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a17baa7f598f08285df7833413af6e8b4">index_merge_append</a> (Index * first, Index * second);</div> <div class="line"><a name="l00039"></a><span class="lineno"> 39</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a39d4afefdf0c02a7baa89b2977ecff09">index_move</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#a62b017d3766f53106a7732cf592551cf">from</a>, <span class="keywordtype">int</span> <a class="code" href="audio_8c.html#ad8e0aa430ac4f3c92bb182ef435bf245">to</a>, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#a0dee89eb1c7e5acc81c6ad3cb763eacb">count</a>);</div> <div class="line"><a name="l00040"></a><span class="lineno"> 40</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a81481164d3c55341611ca67295c355ce">index_delete</a> (Index * index, <span class="keywordtype">int</span> <a class="code" href="playlist-api_8h.html#a9b77ffc728c31f7c2bfb388fb96e1e05">at</a>, <span class="keywordtype">int</span> <a class="code" href="struct__Index.html#a0dee89eb1c7e5acc81c6ad3cb763eacb">count</a>);</div> <div class="line"><a name="l00041"></a><span class="lineno"> 41</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a5891b64bb96e10795e61d57a31f13c66">index_sort</a> (Index * index, <span class="keywordtype">int</span> (* compare) (<span class="keyword">const</span> <span class="keywordtype">void</span> * <a class="code" href="equalizer_8c.html#a64c71ff5789a589bf5d6eaf94c674b9e">a</a>, <span class="keyword">const</span> <span class="keywordtype">void</span> * <a class="code" href="equalizer_8c.html#a525adca0af0350f98d6880a337e5840e">b</a>));</div> <div class="line"><a name="l00042"></a><span class="lineno"> 42</span> <span class="keywordtype">void</span> <a class="code" href="index_8c.html#a56068f348b475904468bacf788f90540">index_sort_with_data</a> (Index * index, <span class="keywordtype">int</span> (* compare) (<span class="keyword">const</span> <span class="keywordtype">void</span> * <a class="code" href="equalizer_8c.html#a64c71ff5789a589bf5d6eaf94c674b9e">a</a>,</div> <div class="line"><a name="l00043"></a><span class="lineno"> 43</span>  <span class="keyword">const</span> <span class="keywordtype">void</span> * <a class="code" href="equalizer_8c.html#a525adca0af0350f98d6880a337e5840e">b</a>, <span class="keywordtype">void</span> * <a class="code" href="struct__Index.html#afc075fe8f25a4e5d2a7a55501c096819">data</a>), <span class="keywordtype">void</span> * data);</div> <div class="line"><a name="l00044"></a><span class="lineno"> 44</span> </div> <div class="line"><a name="l00045"></a><span class="lineno"> 45</span> <span class="preprocessor">#endif </span><span class="comment">/* LIBAUDCORE_INDEX_H */</span><span class="preprocessor"></span></div> </div><!-- fragment --></div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.3 </small></address> </body> </html>