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.

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

Definition at line 334 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);
      va_end(args);

      return success;
}


Generated by  Doxygen 1.6.0   Back to index