Logo Search packages:      
Sourcecode: libmpdclient version File versions  Download package

bool mpd_send_idle ( struct mpd_connection connection  ) 

Enters "idle" mode: MPD will stall the response until an event has occurred. Call mpd_send_noidle() to abort the idle mode, or mpd_recv_idle() to read the event mask (or synchronously wait for events).

Definition at line 136 of file idle.c.

References mpd_send_command(), and mpd_send_idle().

Referenced by mpd_run_idle(), and mpd_send_idle().

{
      return mpd_send_command(connection, "idle", NULL);
}


Generated by  Doxygen 1.6.0   Back to index