summaryrefslogtreecommitdiff
path: root/gst/librfb/rfbcontext.h
blob: 4c72bc6530b202befcbcb42ca7543650089ec593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#ifndef _LIBRFB_RFBCONTEXT_H_
#define _LIBRFB_RFBCONTEXT_H_

#include <glib.h>

G_BEGIN_DECLS typedef struct _RfbContext
{
  RfbConnection *connection;

  guint8 *buffer1;
  gpointer buffer1_alloc;
  guint buffer1_len;

  guint8 *buffer2;
  gpointer buffer2_alloc;
  guint buffer2_len;

  gchar *name;
} RfbContext;

typedef struct _RfbRect
{
  RfbContext *context;

  guint x_pos;
  guint y_pos;
  guint width;
  guint height;
  guint encoding_type;

  gchar *data;
} RfbRect;

G_END_DECLS
#endif