MPD 0.17~git
|
#include <stdbool.h>
Go to the source code of this file.
Functions | |
void | client_idle_add (struct client *client, unsigned flags) |
void | client_manager_idle_add (unsigned flags) |
Adds the specified idle flags to all clients and immediately sends notifications to all waiting clients. | |
bool | client_idle_wait (struct client *client, unsigned flags) |
Checks whether the client has pending idle flags. |
void client_idle_add | ( | struct client * | client, |
unsigned | flags | ||
) |
bool client_idle_wait | ( | struct client * | client, |
unsigned | flags | ||
) |
Checks whether the client has pending idle flags.
If yes, they are sent immediately and "true" is returned". If no, it puts the client into waiting mode and returns false.
void client_manager_idle_add | ( | unsigned | flags | ) |
Adds the specified idle flags to all clients and immediately sends notifications to all waiting clients.