diff options
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 |