Sophie

Sophie

distrib > Mandriva > 2011.0 > i586 > by-pkgid > 110b7614098f68585a9812e7161c059a > files > 132

libmpdclient-devel-2.3-1mdv2011.0.i586.rpm

<!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>libmpdclient: mpd/tag.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.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</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 class="tabs">
    <ul>
      <li><a href="files.html"><span>File&nbsp;List</span></a></li>
      <li><a href="globals.html"><span>File&nbsp;Members</span></a></li>
    </ul>
  </div>
<h1>mpd/tag.h</h1><a href="tag_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* libmpdclient</span>
<a name="l00002"></a>00002 <span class="comment">   (c) 2003-2010 The Music Player Daemon Project</span>
<a name="l00003"></a>00003 <span class="comment">   This project&#39;s homepage is: http://www.musicpd.org</span>
<a name="l00004"></a>00004 <span class="comment"></span>
<a name="l00005"></a>00005 <span class="comment">   Redistribution and use in source and binary forms, with or without</span>
<a name="l00006"></a>00006 <span class="comment">   modification, are permitted provided that the following conditions</span>
<a name="l00007"></a>00007 <span class="comment">   are met:</span>
<a name="l00008"></a>00008 <span class="comment"></span>
<a name="l00009"></a>00009 <span class="comment">   - Redistributions of source code must retain the above copyright</span>
<a name="l00010"></a>00010 <span class="comment">   notice, this list of conditions and the following disclaimer.</span>
<a name="l00011"></a>00011 <span class="comment"></span>
<a name="l00012"></a>00012 <span class="comment">   - Redistributions in binary form must reproduce the above copyright</span>
<a name="l00013"></a>00013 <span class="comment">   notice, this list of conditions and the following disclaimer in the</span>
<a name="l00014"></a>00014 <span class="comment">   documentation and/or other materials provided with the distribution.</span>
<a name="l00015"></a>00015 <span class="comment"></span>
<a name="l00016"></a>00016 <span class="comment">   - Neither the name of the Music Player Daemon nor the names of its</span>
<a name="l00017"></a>00017 <span class="comment">   contributors may be used to endorse or promote products derived from</span>
<a name="l00018"></a>00018 <span class="comment">   this software without specific prior written permission.</span>
<a name="l00019"></a>00019 <span class="comment"></span>
<a name="l00020"></a>00020 <span class="comment">   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span>
<a name="l00021"></a>00021 <span class="comment">   ``AS IS&#39;&#39; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span>
<a name="l00022"></a>00022 <span class="comment">   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span>
<a name="l00023"></a>00023 <span class="comment">   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR</span>
<a name="l00024"></a>00024 <span class="comment">   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
<a name="l00025"></a>00025 <span class="comment">   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
<a name="l00026"></a>00026 <span class="comment">   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
<a name="l00027"></a>00027 <span class="comment">   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF</span>
<a name="l00028"></a>00028 <span class="comment">   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING</span>
<a name="l00029"></a>00029 <span class="comment">   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
<a name="l00030"></a>00030 <span class="comment">   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00031"></a>00031 <span class="comment">*/</span>
<a name="l00032"></a>00032 
<a name="l00033"></a>00033 <span class="preprocessor">#ifndef LIBMPDCLIENT_TAG_H</span>
<a name="l00034"></a>00034 <span class="preprocessor"></span><span class="preprocessor">#define LIBMPDCLIENT_TAG_H</span>
<a name="l00035"></a>00035 <span class="preprocessor"></span>
<a name="l00036"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbf">00036</a> <span class="keyword">enum</span> <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbf">mpd_tag_type</a>
<a name="l00037"></a>00037 {
<a name="l00042"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaddd2cf526d8c2e8374d4a82cff665d89">00042</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaddd2cf526d8c2e8374d4a82cff665d89">MPD_TAG_UNKNOWN</a> = -1,
<a name="l00043"></a>00043 
<a name="l00044"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa61a26906f9d20df42207c66a7b05f75c">00044</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa61a26906f9d20df42207c66a7b05f75c">MPD_TAG_ARTIST</a>,
<a name="l00045"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae9fef2c59f05a93dcf311b3e5f7421a8">00045</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae9fef2c59f05a93dcf311b3e5f7421a8">MPD_TAG_ALBUM</a>,
<a name="l00046"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa18ad0d369e4cc765e2b9dda5f3a69c64">00046</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa18ad0d369e4cc765e2b9dda5f3a69c64">MPD_TAG_ALBUM_ARTIST</a>,
<a name="l00047"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaf5534c4eed42582dc96cc6779a02f08e">00047</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaf5534c4eed42582dc96cc6779a02f08e">MPD_TAG_TITLE</a>,
<a name="l00048"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae8475e92610095730ae78cd6cba63f35">00048</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae8475e92610095730ae78cd6cba63f35">MPD_TAG_TRACK</a>,
<a name="l00049"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae93b7eaf8b01d58a9df3ad6ed501065a">00049</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfae93b7eaf8b01d58a9df3ad6ed501065a">MPD_TAG_NAME</a>,
<a name="l00050"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfadc92234d9279a04fc8b2923a5b7203a6">00050</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfadc92234d9279a04fc8b2923a5b7203a6">MPD_TAG_GENRE</a>,
<a name="l00051"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaa2da6fb3f37efe42710c59c332808d36">00051</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaa2da6fb3f37efe42710c59c332808d36">MPD_TAG_DATE</a>,
<a name="l00052"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa73b1553a8f6b2ab5a2563dc0e33e14ce">00052</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa73b1553a8f6b2ab5a2563dc0e33e14ce">MPD_TAG_COMPOSER</a>,
<a name="l00053"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa60d004bd742afff57851cb97d36fcc63">00053</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa60d004bd742afff57851cb97d36fcc63">MPD_TAG_PERFORMER</a>,
<a name="l00054"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa6b0f7ad4506237b2ae941286aacb7e12">00054</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa6b0f7ad4506237b2ae941286aacb7e12">MPD_TAG_COMMENT</a>,
<a name="l00055"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa356a2ed4576c14d476677d9a904d5831">00055</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa356a2ed4576c14d476677d9a904d5831">MPD_TAG_DISC</a>,
<a name="l00056"></a>00056 
<a name="l00057"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa6c6ae5b3c52d3d67960980df7400b564">00057</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa6c6ae5b3c52d3d67960980df7400b564">MPD_TAG_MUSICBRAINZ_ARTISTID</a>,
<a name="l00058"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaaa6122e652a5e894769977c5a9a09714">00058</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfaaa6122e652a5e894769977c5a9a09714">MPD_TAG_MUSICBRAINZ_ALBUMID</a>,
<a name="l00059"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa4e86bbe6f598fbf441cf99cadf812eb5">00059</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa4e86bbe6f598fbf441cf99cadf812eb5">MPD_TAG_MUSICBRAINZ_ALBUMARTISTID</a>,
<a name="l00060"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa751f3e9166252bae8631070f56a0cb78">00060</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa751f3e9166252bae8631070f56a0cb78">MPD_TAG_MUSICBRAINZ_TRACKID</a>,
<a name="l00061"></a>00061 
<a name="l00062"></a><a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa2e2ef027cd0127ecd1df0474295bc845">00062</a>         <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbfa2e2ef027cd0127ecd1df0474295bc845">MPD_TAG_COUNT</a>
<a name="l00063"></a>00063 };
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00066"></a>00066 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">&quot;C&quot;</span> {
<a name="l00067"></a>00067 <span class="preprocessor">#endif</span>
<a name="l00068"></a>00068 <span class="preprocessor"></span>
<a name="l00074"></a>00074 <span class="keyword">const</span> <span class="keywordtype">char</span> *
<a name="l00075"></a>00075 <a class="code" href="tag_8h.html#afe8876c0e8e84f98424a50b476629e02">mpd_tag_name</a>(<span class="keyword">enum</span> <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbf">mpd_tag_type</a> type);
<a name="l00076"></a>00076 
<a name="l00083"></a>00083 <span class="keyword">enum</span> <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbf">mpd_tag_type</a>
<a name="l00084"></a>00084 <a class="code" href="tag_8h.html#ad0fe266a8ea18dad47c8cb81745a77c7">mpd_tag_name_parse</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *<a class="code" href="structmpd__pair.html#a16a5eec33fed823365af7beffd6cab36">name</a>);
<a name="l00085"></a>00085 
<a name="l00092"></a>00092 <span class="keyword">enum</span> <a class="code" href="tag_8h.html#a3e0e0c332f17c6570ffdf788a685adbf">mpd_tag_type</a>
<a name="l00093"></a>00093 <a class="code" href="tag_8h.html#a24ab18f8cf4399fea1bfcaf83d21f0b4">mpd_tag_name_iparse</a>(<span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00094"></a>00094 
<a name="l00095"></a>00095 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00096"></a>00096 <span class="preprocessor"></span>}
<a name="l00097"></a>00097 <span class="preprocessor">#endif</span>
<a name="l00098"></a>00098 <span class="preprocessor"></span>
<a name="l00099"></a>00099 <span class="preprocessor">#endif</span>
</pre></div></div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sun Aug 8 15:52:35 2010 for libmpdclient by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>