/usr/include/gstreamer-1.0/gst/base/gstqueuearray.h is in libgstreamer1.0-dev 1.8.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 | /* GStreamer
* Copyright (C) 2009-2010 Edward Hervey <bilboed@bilboed.com>
*
* gstqueuearray.h:
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with this library; if not, write to the
* Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
* Boston, MA 02110-1301, USA.
*/
#include <glib.h>
#ifndef __GST_QUEUE_ARRAY_H__
#define __GST_QUEUE_ARRAY_H__
/**
* GstQueueArray: (skip)
*/
typedef struct _GstQueueArray GstQueueArray;
GstQueueArray * gst_queue_array_new (guint initial_size);
void gst_queue_array_free (GstQueueArray * array);
gpointer gst_queue_array_pop_head (GstQueueArray * array);
gpointer gst_queue_array_peek_head (GstQueueArray * array);
void gst_queue_array_push_tail (GstQueueArray * array,
gpointer data);
gboolean gst_queue_array_is_empty (GstQueueArray * array);
gpointer gst_queue_array_drop_element (GstQueueArray * array,
guint idx);
guint gst_queue_array_find (GstQueueArray * array,
GCompareFunc func,
gpointer data);
guint gst_queue_array_get_length (GstQueueArray * array);
/* Functions for use with structures */
GstQueueArray * gst_queue_array_new_for_struct (gsize struct_size,
guint initial_size);
void gst_queue_array_push_tail_struct (GstQueueArray * array,
gpointer p_struct);
gpointer gst_queue_array_pop_head_struct (GstQueueArray * array);
gpointer gst_queue_array_peek_head_struct (GstQueueArray * array);
gboolean gst_queue_array_drop_struct (GstQueueArray * array,
guint idx,
gpointer p_struct);
#endif
|