OpenSync  0.22
Data Fields
OSyncQueue Struct Reference

Represents a Queue which can be used to receive messages. More...

#include <opensync_queue_internals.h>

Data Fields

OSyncQueueType type
 
int fd
 
char * name
 
OSyncMessageHandler message_handler
 
gpointer user_data
 
GSourceFuncs * incoming_functions
 
GSource * incoming_source
 
GMainContext * context
 
GMainContext * incomingContext
 
OSyncThreadthread
 
GAsyncQueue * incoming
 
GAsyncQueue * outgoing
 
GList * pendingReplies
 
GMutex * pendingLock
 
GSourceFuncs * write_functions
 
GSource * write_source
 
GSourceFuncs * read_functions
 
GSource * read_source
 
osync_bool connected
 

Detailed Description

Represents a Queue which can be used to receive messages.

Definition at line 27 of file opensync_queue_internals.h.

Field Documentation

int OSyncQueue::fd

The real asynchronous queue from glib

Definition at line 30 of file opensync_queue_internals.h.

Referenced by osync_queue_new().

char* OSyncQueue::name

The path name of this queue

Definition at line 32 of file opensync_queue_internals.h.

Referenced by osync_change_free_data(), osync_change_update(), and osync_queue_new().

OSyncMessageHandler OSyncQueue::message_handler

The message handler for this queue

Definition at line 34 of file opensync_queue_internals.h.

Referenced by osync_queue_set_message_handler().

gpointer OSyncQueue::user_data

The user_data associated with this queue

Definition at line 36 of file opensync_queue_internals.h.

Referenced by osync_queue_set_message_handler().

GSourceFuncs* OSyncQueue::incoming_functions

The source associated with this queue

Definition at line 38 of file opensync_queue_internals.h.

Referenced by osync_queue_setup_with_gmainloop().

GMainContext* OSyncQueue::context

The context in which the IO of the queue is dispatched

Definition at line 41 of file opensync_queue_internals.h.

Referenced by osync_queue_new().


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