OpenSync  0.22
Data Fields
OSyncMessage Struct Reference

A OSyncMessage. More...

#include <opensync_message_internals.h>

Data Fields

gint refCount
 
OSyncMessageCommand cmd
 
long long int id1
 
int id2
 
OSyncMessageHandler callback
 
gpointer user_data
 
timeout_info * to_info
 
osync_bool is_answered
 
GByteArray * buffer
 
int buffer_read_pos
 

Detailed Description

A OSyncMessage.

Definition at line 65 of file opensync_message_internals.h.

Field Documentation

OSyncMessageCommand OSyncMessage::cmd

The type of this message

Definition at line 68 of file opensync_message_internals.h.

Referenced by osync_message_get_command(), osync_message_is_error(), and osync_message_new().

long long int OSyncMessage::id1

The name of the message

Definition at line 70 of file opensync_message_internals.h.

Referenced by osync_message_new_errorreply(), and osync_message_new_reply().

OSyncMessageHandler OSyncMessage::callback

Where should the reply be received?

Definition at line 73 of file opensync_message_internals.h.

Referenced by osync_message_set_handler().

gpointer OSyncMessage::user_data

The user data

Definition at line 75 of file opensync_message_internals.h.

Referenced by osync_message_set_handler().

timeout_info* OSyncMessage::to_info

The timeout associated with this message

Definition at line 77 of file opensync_message_internals.h.

osync_bool OSyncMessage::is_answered

If this message has already been answered

Definition at line 79 of file opensync_message_internals.h.

GByteArray* OSyncMessage::buffer

The pointer to the internal

Definition at line 81 of file opensync_message_internals.h.

Referenced by osync_message_new().

int OSyncMessage::buffer_read_pos

The current read position

Definition at line 83 of file opensync_message_internals.h.

Referenced by osync_message_new().


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