gstreamer/gst/librfb/rfbbuffer.h
Andre Moreira Magalhaes fd89575485 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).
2006-11-17 03:15:40 +00:00

25 lines
429 B
C

#ifndef _LIBRFB_BUFFER_H_
#define _LIBRFB_BUFFER_H_
#include <glib.h>
G_BEGIN_DECLS
typedef struct _RfbBuffer RfbBuffer;
struct _RfbBuffer
{
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 (gint len);
void rfb_buffer_free (RfbBuffer *buffer);
G_END_DECLS
#endif