src/client_idle.h File Reference

#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.

Function Documentation

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.


Generated on 17 Jul 2013 for MPD by  doxygen 1.6.1