Tizen 2.0 Release
[framework/multimedia/gst-plugins-bad0.10.git] / gst / librfb / rfbcontext.h
1 #ifndef _LIBRFB_RFBCONTEXT_H_
2 #define _LIBRFB_RFBCONTEXT_H_
3
4 #include <glib.h>
5
6 G_BEGIN_DECLS typedef struct _RfbContext
7 {
8   RfbConnection *connection;
9
10   guint8 *buffer1;
11   gpointer buffer1_alloc;
12   guint buffer1_len;
13
14   guint8 *buffer2;
15   gpointer buffer2_alloc;
16   guint buffer2_len;
17
18   gchar *name;
19 } RfbContext;
20
21 typedef struct _RfbRect
22 {
23   RfbContext *context;
24
25   guint x_pos;
26   guint y_pos;
27   guint width;
28   guint height;
29   guint encoding_type;
30
31   gchar *data;
32 } RfbRect;
33
34 G_END_DECLS
35 #endif