diff options
author | Thijs Vermeir <thijsvermeir@gmail.com> | 2007-10-31 14:09:25 +0000 |
---|---|---|
committer | Thijs Vermeir <thijsvermeir@gmail.com> | 2007-10-31 14:09:25 +0000 |
commit | aac84ad1c721c8db84b729d2b265aa62c3f1b5c9 (patch) | |
tree | f8798f6df436f53f6c175d9233d9d9f62497194e /gst/librfb/rfbbuffer.h | |
parent | 1571bc2336eb4e35df921d6a80cc9d53e096e0c8 (diff) | |
download | gst-plugins-bad-aac84ad1c721c8db84b729d2b265aa62c3f1b5c9.tar.gz gst-plugins-bad-aac84ad1c721c8db84b729d2b265aa62c3f1b5c9.tar.bz2 gst-plugins-bad-aac84ad1c721c8db84b729d2b265aa62c3f1b5c9.zip |
gst/librfb/: Added copyrect encoding
Original commit message from CVS:
* gst/librfb/d3des.h:
* gst/librfb/gstrfbsrc.c:
* gst/librfb/gstrfbsrc.h:
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbcontext.h:
* gst/librfb/rfbdecoder.c:
* gst/librfb/rfbdecoder.h:
* gst/librfb/rfbutil.h:
* gst/librfb/vncauth.h:
Added copyrect encoding
Diffstat (limited to 'gst/librfb/rfbbuffer.h')
-rw-r--r-- | gst/librfb/rfbbuffer.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/gst/librfb/rfbbuffer.h b/gst/librfb/rfbbuffer.h index 5c09c77c..6250ad46 100644 --- a/gst/librfb/rfbbuffer.h +++ b/gst/librfb/rfbbuffer.h @@ -3,10 +3,8 @@ #include <glib.h> -G_BEGIN_DECLS - -typedef struct _RfbBuffer RfbBuffer; -typedef void(*RfbBufferFreeFunc)(guint8 *data, gpointer priv); +G_BEGIN_DECLS typedef struct _RfbBuffer RfbBuffer; +typedef void (*RfbBufferFreeFunc) (guint8 * data, gpointer priv); struct _RfbBuffer { @@ -17,10 +15,9 @@ struct _RfbBuffer gint length; }; -RfbBuffer *rfb_buffer_new (void); +RfbBuffer *rfb_buffer_new (void); RfbBuffer *rfb_buffer_new_and_alloc (gint len); -void rfb_buffer_free (RfbBuffer *buffer); +void rfb_buffer_free (RfbBuffer * buffer); G_END_DECLS - #endif |