Sophie

Sophie

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

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/protocol.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/protocol.h</h1><a href="protocol_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">   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS</span>
<a name="l00017"></a>00017 <span class="comment">   ``AS IS&#39;&#39; AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT</span>
<a name="l00018"></a>00018 <span class="comment">   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR</span>
<a name="l00019"></a>00019 <span class="comment">   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR</span>
<a name="l00020"></a>00020 <span class="comment">   CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,</span>
<a name="l00021"></a>00021 <span class="comment">   EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,</span>
<a name="l00022"></a>00022 <span class="comment">   PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR</span>
<a name="l00023"></a>00023 <span class="comment">   PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF</span>
<a name="l00024"></a>00024 <span class="comment">   LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING</span>
<a name="l00025"></a>00025 <span class="comment">   NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS</span>
<a name="l00026"></a>00026 <span class="comment">   SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</span>
<a name="l00027"></a>00027 <span class="comment">*/</span>
<a name="l00028"></a>00028 
<a name="l00036"></a>00036 <span class="preprocessor">#ifndef MPD_PROTOCOL_H</span>
<a name="l00037"></a>00037 <span class="preprocessor"></span><span class="preprocessor">#define MPD_PROTOCOL_H</span>
<a name="l00038"></a>00038 <span class="preprocessor"></span>
<a name="l00039"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84">00039</a> <span class="keyword">enum</span> <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84">mpd_server_error</a> {
<a name="l00040"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a564bee6f1658e2833e23b6b9a3b4a921">00040</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a564bee6f1658e2833e23b6b9a3b4a921">MPD_SERVER_ERROR_UNK</a> = -1,
<a name="l00041"></a>00041 
<a name="l00042"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1b0745ce038ce99bbbd0824f11a54e34">00042</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1b0745ce038ce99bbbd0824f11a54e34">MPD_SERVER_ERROR_NOT_LIST</a> = 1,
<a name="l00043"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a473cd21e35b57427b34e3dffd62f089c">00043</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a473cd21e35b57427b34e3dffd62f089c">MPD_SERVER_ERROR_ARG</a> = 2,
<a name="l00044"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84aea60646a6d32e136b0438226c1a543da">00044</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84aea60646a6d32e136b0438226c1a543da">MPD_SERVER_ERROR_PASSWORD</a> = 3,
<a name="l00045"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a6ea2446d37e7a6bbade183c31e6a6f2c">00045</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a6ea2446d37e7a6bbade183c31e6a6f2c">MPD_SERVER_ERROR_PERMISSION</a> = 4,
<a name="l00046"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a13a6b2ed1ffa3d6eddd9d560df9cfc66">00046</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a13a6b2ed1ffa3d6eddd9d560df9cfc66">MPD_SERVER_ERROR_UNKNOWN_CMD</a> = 5,
<a name="l00047"></a>00047 
<a name="l00048"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1938e63134266fb5e51fe409e4945198">00048</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1938e63134266fb5e51fe409e4945198">MPD_SERVER_ERROR_NO_EXIST</a> = 50,
<a name="l00049"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84ac70bd3b2c9846352a5d00a34e6b809f9">00049</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84ac70bd3b2c9846352a5d00a34e6b809f9">MPD_SERVER_ERROR_PLAYLIST_MAX</a> = 51,
<a name="l00050"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1dd8d405e946a566c1317ceed4671044">00050</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a1dd8d405e946a566c1317ceed4671044">MPD_SERVER_ERROR_SYSTEM</a> = 52,
<a name="l00051"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a017caecd94f9da33994b972075038b60">00051</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a017caecd94f9da33994b972075038b60">MPD_SERVER_ERROR_PLAYLIST_LOAD</a> = 53,
<a name="l00052"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84adddc84f50772deb8163716f9de2611f9">00052</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84adddc84f50772deb8163716f9de2611f9">MPD_SERVER_ERROR_UPDATE_ALREADY</a> = 54,
<a name="l00053"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a2a36a38e1a87e9685e0856aceee2640a">00053</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a2a36a38e1a87e9685e0856aceee2640a">MPD_SERVER_ERROR_PLAYER_SYNC</a> = 55,
<a name="l00054"></a><a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a19a662023613be2ccde8e6c46740fd31">00054</a>         <a class="code" href="protocol_8h.html#ae6a8b8b538b04a5fc22a063f83634c84a19a662023613be2ccde8e6c46740fd31">MPD_SERVER_ERROR_EXIST</a> = 56,
<a name="l00055"></a>00055 };
<a name="l00056"></a>00056 
<a name="l00057"></a>00057 <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>