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

bool mpd_run_password ( struct mpd_connection connection,
const char *  password 
)

Sends the password to MPD and receives its response.

Returns:
true on success, false on failure

Definition at line 43 of file password.c.

References mpd_response_finish(), mpd_run_password(), and mpd_send_password().

Referenced by mpd_connection_new(), and mpd_run_password().

{
      return mpd_run_check(connection) &&
            mpd_send_password(connection, password) &&
            mpd_response_finish(connection);
}


Generated by  Doxygen 1.6.0   Back to index