mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 13:21:28 +00:00
aac84ad1c7
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
23 lines
449 B
C
23 lines
449 B
C
#ifndef _LIBRFB_BUFFER_H_
|
|
#define _LIBRFB_BUFFER_H_
|
|
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS typedef struct _RfbBuffer RfbBuffer;
|
|
typedef void (*RfbBufferFreeFunc) (guint8 * data, gpointer priv);
|
|
|
|
struct _RfbBuffer
|
|
{
|
|
RfbBufferFreeFunc free_data;
|
|
gpointer buffer_private;
|
|
|
|
guint8 *data;
|
|
gint length;
|
|
};
|
|
|
|
RfbBuffer *rfb_buffer_new (void);
|
|
RfbBuffer *rfb_buffer_new_and_alloc (gint len);
|
|
void rfb_buffer_free (RfbBuffer * buffer);
|
|
|
|
G_END_DECLS
|
|
#endif
|