2005-02-11 22:01:19 +00:00
|
|
|
#ifndef _LIBRFB_RFBCONTEXT_H_
|
|
|
|
#define _LIBRFB_RFBCONTEXT_H_
|
|
|
|
|
|
|
|
#include <glib.h>
|
|
|
|
|
2006-11-17 03:15:40 +00:00
|
|
|
G_BEGIN_DECLS
|
|
|
|
|
2005-02-11 22:01:19 +00:00
|
|
|
typedef struct _RfbContext
|
|
|
|
{
|
|
|
|
RfbConnection *connection;
|
|
|
|
|
|
|
|
guint8 *buffer1;
|
2006-11-17 03:15:40 +00:00
|
|
|
gpointer buffer1_alloc;
|
|
|
|
guint buffer1_len;
|
2005-02-11 22:01:19 +00:00
|
|
|
|
|
|
|
guint8 *buffer2;
|
2006-11-17 03:15:40 +00:00
|
|
|
gpointer buffer2_alloc;
|
|
|
|
guint buffer2_len;
|
2005-02-11 22:01:19 +00:00
|
|
|
|
2006-11-17 03:15:40 +00:00
|
|
|
gchar *name;
|
2005-02-11 22:01:19 +00:00
|
|
|
} RfbContext;
|
|
|
|
|
|
|
|
typedef struct _RfbRect
|
|
|
|
{
|
|
|
|
RfbContext *context;
|
|
|
|
|
2006-11-17 03:15:40 +00:00
|
|
|
guint x_pos;
|
|
|
|
guint y_pos;
|
|
|
|
guint width;
|
|
|
|
guint height;
|
|
|
|
guint encoding_type;
|
2005-02-11 22:01:19 +00:00
|
|
|
|
2006-11-17 03:15:40 +00:00
|
|
|
gchar *data;
|
2005-02-11 22:01:19 +00:00
|
|
|
} RfbRect;
|
|
|
|
|
|
|
|
G_END_DECLS
|
|
|
|
|
|
|
|
#endif
|