MPD
|
Go to the source code of this file.
Enumerations | |
enum | { IDLE_DATABASE = 0x1, IDLE_STORED_PLAYLIST = 0x2, IDLE_PLAYLIST = 0x4, IDLE_PLAYER = 0x8, IDLE_MIXER = 0x10, IDLE_OUTPUT = 0x20, IDLE_OPTIONS = 0x40, IDLE_STICKER = 0x80, IDLE_UPDATE = 0x100 } |
Functions | |
void | idle_init (void) |
Initialize the mutex. | |
void | idle_deinit (void) |
Destroy the mutex. | |
void | idle_add (unsigned flags) |
Adds idle flag (with bitwise "or") and queues notifications to all clients. | |
unsigned | idle_get (void) |
Atomically reads and resets the global idle flags value. | |
const char *const * | idle_get_names (void) |
Get idle names. | |
anonymous enum |
void idle_add | ( | unsigned | flags | ) |
Adds idle flag (with bitwise "or") and queues notifications to all clients.
void idle_deinit | ( | void | ) |
Destroy the mutex.
unsigned idle_get | ( | void | ) |
Atomically reads and resets the global idle flags value.
const char* const* idle_get_names | ( | void | ) |
Get idle names.
void idle_init | ( | void | ) |
Initialize the mutex.