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/rfbbuffer.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/rfbbuffer.h')
-rw-r--r-- | gst/librfb/rfbbuffer.h | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/gst/librfb/rfbbuffer.h b/gst/librfb/rfbbuffer.h index 7c4d40b5..f220c0e7 100644 --- a/gst/librfb/rfbbuffer.h +++ b/gst/librfb/rfbbuffer.h @@ -1,4 +1,3 @@ - #ifndef _LIBRFB_BUFFER_H_ #define _LIBRFB_BUFFER_H_ @@ -10,16 +9,16 @@ typedef struct _RfbBuffer RfbBuffer; struct _RfbBuffer { - guint8 *data; - int length; - void (*free_data) (guint8 *data, gpointer priv); gpointer buffer_private; + + guint8 *data; + gint length; }; -RfbBuffer *rfb_buffer_new (void); -RfbBuffer *rfb_buffer_new_and_alloc (int len); -void rfb_buffer_free (RfbBuffer *buffer); +RfbBuffer *rfb_buffer_new (void); +RfbBuffer *rfb_buffer_new_and_alloc (gint len); +void rfb_buffer_free (RfbBuffer *buffer); G_END_DECLS |