gstreamer/gst/librfb/rfbbuffer.h
Jan Schmidt 1fe4050c0a gst/: Fix compiler warnings shown by Forte.
Original commit message from CVS:
* gst/librfb/rfbbuffer.c: (rfb_buffer_new_and_alloc):
* gst/librfb/rfbbuffer.h:
* gst/librfb/rfbdecoder.c: (rfb_socket_get_buffer):
* gst/mpegvideoparse/mpegvideoparse.c: (gst_mpegvideoparse_chain):
* gst/nsf/nes6502.c: (nes6502_execute):
* gst/real/gstrealaudiodec.c: (gst_real_audio_dec_setcaps):
* gst/real/gstrealvideodec.c: (open_library):
* gst/real/gstrealvideodec.h:
* gst/rtpmanager/gstrtpsession.c: (create_recv_rtp_sink),
(create_recv_rtcp_sink), (create_send_rtp_sink):
Fix compiler warnings shown by Forte.
2007-10-08 17:46:45 +00:00

26 lines
472 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