mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-25 09:40:37 +00:00
a970a32304
Original commit message from CVS: * configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate. Move rfbsrc plugin to gst/. * ext/Makefile.am: * ext/librfb/Makefile.am: * ext/librfb/gstrfbsrc.c: * 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:
26 lines
403 B
C
26 lines
403 B
C
|
|
#ifndef _LIBRFB_BUFFER_H_
|
|
#define _LIBRFB_BUFFER_H_
|
|
|
|
#include <glib.h>
|
|
|
|
G_BEGIN_DECLS
|
|
|
|
typedef struct _RfbBuffer RfbBuffer;
|
|
|
|
struct _RfbBuffer
|
|
{
|
|
guint8 *data;
|
|
int length;
|
|
|
|
void (*free_data) (guint8 *data, gpointer priv);
|
|
gpointer buffer_private;
|
|
};
|
|
|
|
RfbBuffer *rfb_buffer_new (void);
|
|
RfbBuffer *rfb_buffer_new_and_alloc (int len);
|
|
void rfb_buffer_free (RfbBuffer *buffer);
|
|
|
|
G_END_DECLS
|
|
|
|
#endif
|