diff options
author | Andre Moreira Magalhaes <andrunko@gmail.com> | 2006-11-17 03:15:40 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2006-11-17 03:15:40 +0000 |
commit | fd89575485e4ad018b0457034e28b4b65989dd74 (patch) | |
tree | 702267162df1141fb67927356d5a5defc8bd7b74 /gst/librfb/rfbcontext.h | |
parent | de9ee6e6e42b8485daf19586dc976fe05bd14087 (diff) | |
download | gst-plugins-bad-fd89575485e4ad018b0457034e28b4b65989dd74.tar.gz gst-plugins-bad-fd89575485e4ad018b0457034e28b4b65989dd74.tar.bz2 gst-plugins-bad-fd89575485e4ad018b0457034e28b4b65989dd74.zip |
Port librfb to 0.10 (#376106).
Original commit message from CVS:
Patch by: Andre Moreira Magalhaes <andrunko@gmail.com>
* configure.ac:
* gst/librfb/Makefile.am:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/rfb.c:
* gst/librfb/rfb.h:
* gst/librfb/rfbbuffer.c:
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbbytestream.c:
* gst/librfb/rfbbytestream.h:
* gst/librfb/rfbcontext.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
* gst/librfb/rfbutil.h:
Port librfb to 0.10 (#376106).
Diffstat (limited to 'gst/librfb/rfbcontext.h')
-rw-r--r-- | gst/librfb/rfbcontext.h | 29 |
1 files changed, 13 insertions, 16 deletions
diff --git a/gst/librfb/rfbcontext.h b/gst/librfb/rfbcontext.h index df9ec1df..fb41aa0c 100644 --- a/gst/librfb/rfbcontext.h +++ b/gst/librfb/rfbcontext.h @@ -1,41 +1,38 @@ - #ifndef _LIBRFB_RFBCONTEXT_H_ #define _LIBRFB_RFBCONTEXT_H_ -G_BEGIN_DECLS - #include <glib.h> +G_BEGIN_DECLS + typedef struct _RfbContext { RfbConnection *connection; guint8 *buffer1; - void *buffer1_alloc; - unsigned int buffer1_len; + gpointer buffer1_alloc; + guint buffer1_len; guint8 *buffer2; - void *buffer2_alloc; - unsigned int buffer2_len; + gpointer buffer2_alloc; + guint buffer2_len; - char *name; + gchar *name; } RfbContext; typedef struct _RfbRect { RfbContext *context; - unsigned int x_pos; - unsigned int y_pos; - unsigned int width; - unsigned int height; - unsigned int encoding_type; + guint x_pos; + guint y_pos; + guint width; + guint height; + guint encoding_type; - char *data; + gchar *data; } RfbRect; - - G_END_DECLS #endif |