<!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"/> <title>libnjb: /builddir/build/BUILD/libnjb-2.2.6/src/songid.h Source File</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.7.3 --> <div id="top"> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td style="padding-left: 0.5em;"> <div id="projectname">libnjb <span id="projectnumber">2.2.6</span></div> </td> </tr> </tbody> </table> </div> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="annotated.html"><span>Data Structures</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> <li><a href="dirs.html"><span>Directories</span></a></li> <li><a href="examples.html"><span>Examples</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>Globals</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="dir_a231d544ee85f784af5e92462fb4d8ea.html">src</a> </li> </ul> </div> </div> <div class="header"> <div class="headertitle"> <h1>songid.h</h1> </div> </div> <div class="contents"> <div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef __NJB__SONGID__H</span> <a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define __NJB__SONGID__H</span> <a name="l00003"></a>00003 <span class="preprocessor"></span> <a name="l00004"></a>00004 <span class="preprocessor">#define ID_DATA_ASCII 0</span> <a name="l00005"></a>00005 <span class="preprocessor"></span><span class="preprocessor">#define ID_DATA_BIN 1</span> <a name="l00006"></a>00006 <span class="preprocessor"></span><span class="preprocessor">#define ID_DATA_UNI 2</span> <a name="l00007"></a>00007 <span class="preprocessor"></span> <a name="l00008"></a>00008 <span class="comment">/* Eventually we move all private songid_t processing in here */</span> <a name="l00009"></a>00009 <a name="l00010"></a>00010 <a class="code" href="structnjb__songid__struct.html">njb_songid_t</a> *<a class="code" href="songid_8c.html#ab4fd686d31cb66af604ab8cd1b285046">songid_unpack</a> (<span class="keywordtype">void</span> *data, <span class="keywordtype">size_t</span> nbytes); <a name="l00011"></a>00011 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="songid_8c.html#a1dcd88c13e7b209d9a5b6e31e71ff6e6">songid_pack</a> (<a class="code" href="structnjb__songid__struct.html">njb_songid_t</a> *song, u_int32_t *size); <a name="l00012"></a>00012 <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> *<a class="code" href="songid_8c.html#a4a04f572c79d5f5c4b813ba8c1932f6b">songid_pack3</a> (<a class="code" href="structnjb__songid__struct.html">njb_songid_t</a> *song, u_int32_t *size); <a name="l00013"></a>00013 <span class="keywordtype">int</span> <a class="code" href="songid_8c.html#a4c7679ba70de1bdabcfe90c2e6308008">songid_sanity_check</a>(<a class="code" href="structnjb__struct.html">njb_t</a> *njb, <a class="code" href="structnjb__songid__struct.html">njb_songid_t</a> *songid); <a name="l00014"></a>00014 <a name="l00015"></a>00015 <span class="preprocessor">#endif</span> </pre></div></div> </div> <hr class="footer"/><address class="footer"><small>Generated on Tue Feb 8 2011 for libnjb by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.3 </small></address> </body> </html>