client Struct Reference

#include <client_internal.h>

Data Fields

struct player_controlplayer_control
GIOChannel * channel
guint source_id
struct fifo_buffer * input
 the buffer for reading lines from the channel
unsigned permission
int uid
 the uid of the client process, or -1 if unknown
GTimer * last_activity
 How long since the last activity from this client?
GSList * cmd_list
int cmd_list_OK
size_t cmd_list_size
GQueue * deferred_send
size_t deferred_bytes
unsigned int num
char send_buf [16384]
size_t send_buf_used
bool idle_waiting
 is this client waiting for an "idle" response?
unsigned idle_flags
 idle flags pending on this client, to be sent as soon as the client enters "idle"
unsigned idle_subscriptions
 idle flags that the client wants to receive
GSList * subscriptions
 A list of channel names this client is subscribed to.
unsigned num_subscriptions
 The number of subscriptions in subscriptions.
GSList * messages
 A list of messages this client has received in reverse order (latest first).
unsigned num_messages
 The number of messages in messages.

Detailed Description

Definition at line 40 of file client_internal.h.


Field Documentation

GIOChannel* client::channel

Definition at line 43 of file client_internal.h.

Definition at line 59 of file client_internal.h.

Definition at line 60 of file client_internal.h.

Definition at line 61 of file client_internal.h.

Definition at line 63 of file client_internal.h.

Definition at line 62 of file client_internal.h.

idle flags pending on this client, to be sent as soon as the client enters "idle"

Definition at line 74 of file client_internal.h.

idle flags that the client wants to receive

Definition at line 77 of file client_internal.h.

is this client waiting for an "idle" response?

Definition at line 70 of file client_internal.h.

struct fifo_buffer* client::input [read]

the buffer for reading lines from the channel

Definition at line 47 of file client_internal.h.

How long since the last activity from this client?

Definition at line 57 of file client_internal.h.

A list of messages this client has received in reverse order (latest first).

Definition at line 94 of file client_internal.h.

unsigned int client::num

Definition at line 64 of file client_internal.h.

The number of messages in messages.

Definition at line 99 of file client_internal.h.

The number of subscriptions in subscriptions.

Used to limit the number of subscriptions.

Definition at line 88 of file client_internal.h.

Definition at line 49 of file client_internal.h.

Definition at line 41 of file client_internal.h.

char client::send_buf[16384]

Definition at line 66 of file client_internal.h.

Definition at line 67 of file client_internal.h.

Definition at line 44 of file client_internal.h.

A list of channel names this client is subscribed to.

Definition at line 82 of file client_internal.h.

the uid of the client process, or -1 if unknown

Definition at line 52 of file client_internal.h.


The documentation for this struct was generated from the following file:

Generated on 9 Aug 2013 for MPD by  doxygen 1.6.1