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

mpd_sentinel bool mpd_async_send_command ( struct mpd_async async,
const char *  command,

Appends a command to the output buffer.

async the connection
command the command name, followed by arguments, terminated by NULL
true on success, false if the buffer is full

Definition at line 337 of file async.c.

References mpd_async_send_command(), and mpd_async_send_command_v().

Referenced by mpd_async_send_command().

      va_list args;
      bool success;

      assert(async != NULL);
      assert(command != NULL);

      va_start(args, command);
      success = mpd_async_send_command_v(async, command, args);

      return success;

Generated by  Doxygen 1.6.0   Back to index