diff options
author | David Schleef <ds@schleef.org> | 2005-02-11 22:01:19 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2005-02-11 22:01:19 +0000 |
commit | a970a323047d9241a4ee96f4126c9739fc9780cf (patch) | |
tree | 0cc2c90fba41e659ddfa701c08f9bc0b95545427 /gst/librfb/rfbbuffer.h | |
parent | 909da9fb0489c3744547e6386531461c072da5fc (diff) | |
download | gst-plugins-bad-a970a323047d9241a4ee96f4126c9739fc9780cf.tar.gz gst-plugins-bad-a970a323047d9241a4ee96f4126c9739fc9780cf.tar.bz2 gst-plugins-bad-a970a323047d9241a4ee96f4126c9739fc9780cf.zip |
configure.ac: Pull in librfb from my CVS tree, because it is too small and annoying to be separate. Move rfbsrc plug...
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:
Diffstat (limited to 'gst/librfb/rfbbuffer.h')
-rw-r--r-- | gst/librfb/rfbbuffer.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gst/librfb/rfbbuffer.h b/gst/librfb/rfbbuffer.h new file mode 100644 index 00000000..7c4d40b5 --- /dev/null +++ b/gst/librfb/rfbbuffer.h @@ -0,0 +1,26 @@ + +#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 |