ncmpc  0.30
Data Structures | Enumerations | Functions
mpdclient.hxx File Reference
#include "config.h"
#include "Queue.hxx"
#include "Compiler.h"
#include <mpd/client.h>
#include <string>

Go to the source code of this file.

Data Structures

struct  mpdclient
 

Enumerations

enum  { MPD_IDLE_ALL }
 

Functions

bool mpdclient_cmd_crop (struct mpdclient *c)
 
bool mpdclient_cmd_clear (struct mpdclient *c)
 
bool mpdclient_cmd_volume (struct mpdclient *c, int value)
 
bool mpdclient_cmd_volume_up (struct mpdclient *c)
 
bool mpdclient_cmd_volume_down (struct mpdclient *c)
 
bool mpdclient_cmd_add_path (struct mpdclient *c, const char *path)
 
bool mpdclient_cmd_add (struct mpdclient *c, const struct mpd_song *song)
 
bool mpdclient_cmd_delete (struct mpdclient *c, int index)
 
bool mpdclient_cmd_delete_range (struct mpdclient *c, unsigned start, unsigned end)
 
bool mpdclient_cmd_move (struct mpdclient *c, unsigned dest, unsigned src)
 
bool mpdclient_cmd_subscribe (struct mpdclient *c, const char *channel)
 
bool mpdclient_cmd_unsubscribe (struct mpdclient *c, const char *channel)
 
bool mpdclient_cmd_send_message (struct mpdclient *c, const char *channel, const char *text)
 

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
MPD_IDLE_ALL 

all idle events the version of libmpdclient, ncmpc is compiled against, supports

Function Documentation

◆ mpdclient_cmd_crop()

bool mpdclient_cmd_crop ( struct mpdclient c)

◆ mpdclient_cmd_clear()

bool mpdclient_cmd_clear ( struct mpdclient c)

◆ mpdclient_cmd_volume()

bool mpdclient_cmd_volume ( struct mpdclient c,
int  value 
)

◆ mpdclient_cmd_volume_up()

bool mpdclient_cmd_volume_up ( struct mpdclient c)

◆ mpdclient_cmd_volume_down()

bool mpdclient_cmd_volume_down ( struct mpdclient c)

◆ mpdclient_cmd_add_path()

bool mpdclient_cmd_add_path ( struct mpdclient c,
const char *  path 
)

◆ mpdclient_cmd_add()

bool mpdclient_cmd_add ( struct mpdclient c,
const struct mpd_song *  song 
)

◆ mpdclient_cmd_delete()

bool mpdclient_cmd_delete ( struct mpdclient c,
int  index 
)

◆ mpdclient_cmd_delete_range()

bool mpdclient_cmd_delete_range ( struct mpdclient c,
unsigned  start,
unsigned  end 
)

◆ mpdclient_cmd_move()

bool mpdclient_cmd_move ( struct mpdclient c,
unsigned  dest,
unsigned  src 
)

◆ mpdclient_cmd_subscribe()

bool mpdclient_cmd_subscribe ( struct mpdclient c,
const char *  channel 
)

◆ mpdclient_cmd_unsubscribe()

bool mpdclient_cmd_unsubscribe ( struct mpdclient c,
const char *  channel 
)

◆ mpdclient_cmd_send_message()

bool mpdclient_cmd_send_message ( struct mpdclient c,
const char *  channel,
const char *  text 
)