Sophie

Sophie

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

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/status.h File Reference</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>
</div>
<div class="contents">
<h1>mpd/status.h File Reference</h1>
<p>MPD client library.  
<a href="#_details">More...</a></p>

<p><a href="status_8h_source.html">Go to the source code of this file.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Enumerations</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711">mpd_state</a> { <a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711a222f37349d20560c510237dce1505451">MPD_STATE_UNKNOWN</a> =  0, 
<a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711a1e77c1f806f1a77771d9c0ead0b33a5e">MPD_STATE_STOP</a> =  1, 
<a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711a7995e1301b644929855cffbface56e8f">MPD_STATE_PLAY</a> =  2, 
<a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711ac9ed716e59a80778e597491be12b7f2e">MPD_STATE_PAUSE</a> =  3
 }</td></tr>
<tr><td colspan="2"><h2>Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a1b941ed1961ab8709191ea75e5fc1eab">mpd_status_begin</a> (void)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a82e96eb7bce03e989dda4de2302ddfde">mpd_status_feed</a> (struct <a class="el" href="structmpd__status.html">mpd_status</a> *status, const struct <a class="el" href="structmpd__pair.html">mpd_pair</a> *pair)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a3b4576d898d59e3a9263075ab425e5d5">mpd_send_status</a> (struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *connection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a3675215155221a6f9fc058bfef31b088">mpd_recv_status</a> (struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *connection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a8e596853cea232305881b4b5c8d49bd0">mpd_run_status</a> (struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *connection)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#ade7fb99bc28e8d29666a678e3438813a">mpd_status_free</a> (struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#aea9c585a1c2762ab6a7e70de171a587b">mpd_status_get_volume</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a34e70b060e357f8149d80c65940bedec">mpd_status_get_repeat</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a1b2fd47bbb122c08a141972443022429">mpd_status_get_random</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a83fe12dd812f161baf6304d0e55dc29e">mpd_status_get_single</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#ab68fc36cdbac2ca296c49192b864b4f6">mpd_status_get_consume</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#af2d6c85731c33363da9866f8e71bd4f0">mpd_status_get_queue_length</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a19f7117bbc43f013e9991ce1edf7773e">mpd_status_get_queue_version</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure enum <a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711">mpd_state</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a8a6e251c100b6649e2531016b4090928">mpd_status_get_state</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a46df38c458b3939e25742df960cba503">mpd_status_get_crossfade</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a7b0f5273e4a1d0fa0c3fd78d036feabd">mpd_status_get_mixrampdb</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure float&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a94fb36ce1d9b8da69299d442f90e6203">mpd_status_get_mixrampdelay</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a892e211f090f63e48e15dfb3552c1837">mpd_status_get_song_pos</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a1cee3633bc627a265c9d8bc1c248c5f2">mpd_status_get_song_id</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a7ea846327ed2f92879216429a7e25aab">mpd_status_get_elapsed_time</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a63a125ce91142f77e8c32a090050fb72">mpd_status_get_elapsed_ms</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a6bb6c61aed887acf23369eae3a6583a1">mpd_status_get_total_time</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a3e0fc3e6f9bda859cd1460d7653c9f34">mpd_status_get_kbit_rate</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure struct <a class="el" href="structmpd__audio__format.html">mpd_audio_format</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#ab753ac1513868560073a0a92d675a942">mpd_status_get_audio_format</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure unsigned&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a0466b89af9e6950607cbe3102aafd396">mpd_status_get_update_id</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">mpd_pure const char *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="status_8h.html#a913dac535e8f3016b113d04c8a2d6cbe">mpd_status_get_error</a> (const struct <a class="el" href="structmpd__status.html">mpd_status</a> *status)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>
<p>MPD client library. </p>
<p>Do not include this header directly. Use <a class="el" href="client_8h.html" title="MPD client library.">mpd/client.h</a> instead. </p>

<p>Definition in file <a class="el" href="status_8h_source.html">status.h</a>.</p>
<hr/><h2>Enumeration Type Documentation</h2>
<a class="anchor" id="a8285e75f1bc92e54a16dbfd81c6a5711"></a><!-- doxytag: member="status.h::mpd_state" ref="a8285e75f1bc92e54a16dbfd81c6a5711" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711">mpd_state</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>MPD's playback state. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="a8285e75f1bc92e54a16dbfd81c6a5711a222f37349d20560c510237dce1505451"></a><!-- doxytag: member="MPD_STATE_UNKNOWN" ref="a8285e75f1bc92e54a16dbfd81c6a5711a222f37349d20560c510237dce1505451" args="" -->MPD_STATE_UNKNOWN</em>&nbsp;</td><td>
<p>no information available </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8285e75f1bc92e54a16dbfd81c6a5711a1e77c1f806f1a77771d9c0ead0b33a5e"></a><!-- doxytag: member="MPD_STATE_STOP" ref="a8285e75f1bc92e54a16dbfd81c6a5711a1e77c1f806f1a77771d9c0ead0b33a5e" args="" -->MPD_STATE_STOP</em>&nbsp;</td><td>
<p>not playing </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8285e75f1bc92e54a16dbfd81c6a5711a7995e1301b644929855cffbface56e8f"></a><!-- doxytag: member="MPD_STATE_PLAY" ref="a8285e75f1bc92e54a16dbfd81c6a5711a7995e1301b644929855cffbface56e8f" args="" -->MPD_STATE_PLAY</em>&nbsp;</td><td>
<p>playing </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="a8285e75f1bc92e54a16dbfd81c6a5711ac9ed716e59a80778e597491be12b7f2e"></a><!-- doxytag: member="MPD_STATE_PAUSE" ref="a8285e75f1bc92e54a16dbfd81c6a5711ac9ed716e59a80778e597491be12b7f2e" args="" -->MPD_STATE_PAUSE</em>&nbsp;</td><td>
<p>playing, but paused </p>
</td></tr>
</table>
</dd>
</dl>

<p>Definition at line <a class="el" href="status_8h_source.html#l00049">49</a> of file <a class="el" href="status_8h_source.html">status.h</a>.</p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a3675215155221a6f9fc058bfef31b088"></a><!-- doxytag: member="status.h::mpd_recv_status" ref="a3675215155221a6f9fc058bfef31b088" args="(struct mpd_connection *connection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a>* mpd_recv_status </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *&nbsp;</td>
          <td class="paramname"> <em>connection</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Receives a <a class="el" href="structmpd__status.html">mpd_status</a> object from the server.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the received <a class="el" href="structmpd__status.html">mpd_status</a> object, or NULL on error </dd></dl>

</div>
</div>
<a class="anchor" id="a8e596853cea232305881b4b5c8d49bd0"></a><!-- doxytag: member="status.h::mpd_run_status" ref="a8e596853cea232305881b4b5c8d49bd0" args="(struct mpd_connection *connection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a>* mpd_run_status </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *&nbsp;</td>
          <td class="paramname"> <em>connection</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Executes the "status" command and reads the response.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the <a class="el" href="structmpd__status.html">mpd_status</a> object returned by the server, or NULL on error </dd></dl>

</div>
</div>
<a class="anchor" id="a3b4576d898d59e3a9263075ab425e5d5"></a><!-- doxytag: member="status.h::mpd_send_status" ref="a3b4576d898d59e3a9263075ab425e5d5" args="(struct mpd_connection *connection)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool mpd_send_status </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmpd__connection.html">mpd_connection</a> *&nbsp;</td>
          <td class="paramname"> <em>connection</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sends the "status" command to MPD. Call <a class="el" href="status_8h.html#a3675215155221a6f9fc058bfef31b088">mpd_recv_status()</a> to read the response.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>true on success </dd></dl>

</div>
</div>
<a class="anchor" id="a1b941ed1961ab8709191ea75e5fc1eab"></a><!-- doxytag: member="status.h::mpd_status_begin" ref="a1b941ed1961ab8709191ea75e5fc1eab" args="(void)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_malloc struct <a class="el" href="structmpd__status.html">mpd_status</a>* mpd_status_begin </td>
          <td>(</td>
          <td class="paramtype">void&nbsp;</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Begins parsing the server status: creates a new empty <a class="el" href="structmpd__status.html">mpd_status</a> object. Free it with <a class="el" href="status_8h.html#ade7fb99bc28e8d29666a678e3438813a">mpd_status_free()</a>.</p>
<dl class="return"><dt><b>Returns:</b></dt><dd>the newly allocated <a class="el" href="structmpd__status.html">mpd_status</a> object, or NULL if out of memory </dd></dl>

</div>
</div>
<a class="anchor" id="a82e96eb7bce03e989dda4de2302ddfde"></a><!-- doxytag: member="status.h::mpd_status_feed" ref="a82e96eb7bce03e989dda4de2302ddfde" args="(struct mpd_status *status, const struct mpd_pair *pair)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mpd_status_feed </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const struct <a class="el" href="structmpd__pair.html">mpd_pair</a> *&nbsp;</td>
          <td class="paramname"> <em>pair</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Parses the pair, adding its information to the specified <a class="el" href="structmpd__status.html">mpd_status</a> object. </p>

</div>
</div>
<a class="anchor" id="ade7fb99bc28e8d29666a678e3438813a"></a><!-- doxytag: member="status.h::mpd_status_free" ref="ade7fb99bc28e8d29666a678e3438813a" args="(struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void mpd_status_free </td>
          <td>(</td>
          <td class="paramtype">struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Releases a <a class="el" href="structmpd__status.html">mpd_status</a> object. </p>

</div>
</div>
<a class="anchor" id="ab753ac1513868560073a0a92d675a942"></a><!-- doxytag: member="status.h::mpd_status_get_audio_format" ref="ab753ac1513868560073a0a92d675a942" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure struct <a class="el" href="structmpd__audio__format.html">mpd_audio_format</a>* mpd_status_get_audio_format </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [read]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns audio format which MPD is currently playing. May return NULL if MPD is not playing or if the audio format is unknown. </p>

</div>
</div>
<a class="anchor" id="ab68fc36cdbac2ca296c49192b864b4f6"></a><!-- doxytag: member="status.h::mpd_status_get_consume" ref="ab68fc36cdbac2ca296c49192b864b4f6" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure bool mpd_status_get_consume </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if consume mode is on. </p>

</div>
</div>
<a class="anchor" id="a46df38c458b3939e25742df960cba503"></a><!-- doxytag: member="status.h::mpd_status_get_crossfade" ref="a46df38c458b3939e25742df960cba503" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_crossfade </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns crossfade setting in seconds. 0 means crossfading is disabled. </p>

</div>
</div>
<a class="anchor" id="a63a125ce91142f77e8c32a090050fb72"></a><!-- doxytag: member="status.h::mpd_status_get_elapsed_ms" ref="a63a125ce91142f77e8c32a090050fb72" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_elapsed_ms </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns time in milliseconds that have elapsed in the currently playing/paused song. </p>

</div>
</div>
<a class="anchor" id="a7ea846327ed2f92879216429a7e25aab"></a><!-- doxytag: member="status.h::mpd_status_get_elapsed_time" ref="a7ea846327ed2f92879216429a7e25aab" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_elapsed_time </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns time in seconds that have elapsed in the currently playing/paused song </p>

</div>
</div>
<a class="anchor" id="a913dac535e8f3016b113d04c8a2d6cbe"></a><!-- doxytag: member="status.h::mpd_status_get_error" ref="a913dac535e8f3016b113d04c8a2d6cbe" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure const char* mpd_status_get_error </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the error message </p>

</div>
</div>
<a class="anchor" id="a3e0fc3e6f9bda859cd1460d7653c9f34"></a><!-- doxytag: member="status.h::mpd_status_get_kbit_rate" ref="a3e0fc3e6f9bda859cd1460d7653c9f34" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_kbit_rate </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns current bit rate in kbps. 0 means unknown. </p>

</div>
</div>
<a class="anchor" id="a7b0f5273e4a1d0fa0c3fd78d036feabd"></a><!-- doxytag: member="status.h::mpd_status_get_mixrampdb" ref="a7b0f5273e4a1d0fa0c3fd78d036feabd" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure float mpd_status_get_mixrampdb </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns mixrampdb setting in db. </p>

</div>
</div>
<a class="anchor" id="a94fb36ce1d9b8da69299d442f90e6203"></a><!-- doxytag: member="status.h::mpd_status_get_mixrampdelay" ref="a94fb36ce1d9b8da69299d442f90e6203" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure float mpd_status_get_mixrampdelay </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns mixrampdelay setting in seconds. Negative means mixramp is disabled. </p>

</div>
</div>
<a class="anchor" id="af2d6c85731c33363da9866f8e71bd4f0"></a><!-- doxytag: member="status.h::mpd_status_get_queue_length" ref="af2d6c85731c33363da9866f8e71bd4f0" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_queue_length </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the number of songs in the queue. If MPD did not specify that, this function returns 0. </p>

</div>
</div>
<a class="anchor" id="a19f7117bbc43f013e9991ce1edf7773e"></a><!-- doxytag: member="status.h::mpd_status_get_queue_version" ref="a19f7117bbc43f013e9991ce1edf7773e" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_queue_version </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns queue version number. You may use this to determine when the queue has changed since you have last queried it. </p>

</div>
</div>
<a class="anchor" id="a1b2fd47bbb122c08a141972443022429"></a><!-- doxytag: member="status.h::mpd_status_get_random" ref="a1b2fd47bbb122c08a141972443022429" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure bool mpd_status_get_random </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if random mode is on. </p>

</div>
</div>
<a class="anchor" id="a34e70b060e357f8149d80c65940bedec"></a><!-- doxytag: member="status.h::mpd_status_get_repeat" ref="a34e70b060e357f8149d80c65940bedec" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure bool mpd_status_get_repeat </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if repeat mode is on. </p>

</div>
</div>
<a class="anchor" id="a83fe12dd812f161baf6304d0e55dc29e"></a><!-- doxytag: member="status.h::mpd_status_get_single" ref="a83fe12dd812f161baf6304d0e55dc29e" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure bool mpd_status_get_single </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns true if single mode is on. </p>

</div>
</div>
<a class="anchor" id="a1cee3633bc627a265c9d8bc1c248c5f2"></a><!-- doxytag: member="status.h::mpd_status_get_song_id" ref="a1cee3633bc627a265c9d8bc1c248c5f2" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int mpd_status_get_song_id </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the id of the currently song. If there is no current song, -1 is returned. </p>

</div>
</div>
<a class="anchor" id="a892e211f090f63e48e15dfb3552c1837"></a><!-- doxytag: member="status.h::mpd_status_get_song_pos" ref="a892e211f090f63e48e15dfb3552c1837" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure int mpd_status_get_song_pos </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the position of the currently playing song in the queue (beginning with 0) if a song is currently selected (always the case when state is PLAY or PAUSE). If there is no current song, -1 is returned. </p>

</div>
</div>
<a class="anchor" id="a8a6e251c100b6649e2531016b4090928"></a><!-- doxytag: member="status.h::mpd_status_get_state" ref="a8a6e251c100b6649e2531016b4090928" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure enum <a class="el" href="status_8h.html#a8285e75f1bc92e54a16dbfd81c6a5711">mpd_state</a> mpd_status_get_state </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the state of the player: either stopped, playing or paused. </p>

</div>
</div>
<a class="anchor" id="a6bb6c61aed887acf23369eae3a6583a1"></a><!-- doxytag: member="status.h::mpd_status_get_total_time" ref="a6bb6c61aed887acf23369eae3a6583a1" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_total_time </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the length in seconds of the currently playing/paused song </p>

</div>
</div>
<a class="anchor" id="a0466b89af9e6950607cbe3102aafd396"></a><!-- doxytag: member="status.h::mpd_status_get_update_id" ref="a0466b89af9e6950607cbe3102aafd396" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure unsigned mpd_status_get_update_id </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns 1 if mpd is updating, 0 otherwise </p>

</div>
</div>
<a class="anchor" id="aea9c585a1c2762ab6a7e70de171a587b"></a><!-- doxytag: member="status.h::mpd_status_get_volume" ref="aea9c585a1c2762ab6a7e70de171a587b" args="(const struct mpd_status *status)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">mpd_pure int mpd_status_get_volume </td>
          <td>(</td>
          <td class="paramtype">const struct <a class="el" href="structmpd__status.html">mpd_status</a> *&nbsp;</td>
          <td class="paramname"> <em>status</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Returns the current volume: 0-100, or -1 when there is no volume support. </p>

</div>
</div>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Sun Aug 8 15:52:36 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>