This file is indexed.

/usr/include/libdmapsharing-3.0/libdmapsharing/dmap-gst-input-stream.h is in libdmapsharing-3.0-dev 2.9.37-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
70
71
72
73
74
75
76
77
78
79
80
81
/*
 * DMAPGstInputStream class: Open a URI using dmap_gst_input_stream_new ().
 * Data is decoded using GStreamer and is then made available by the class's
 * read operations.
 *
 * Copyright (C) 2008 W. Michael Petullo <mike@flyn.org>
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 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
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser 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
 */

#ifndef __DMAP_GST_INPUT_STREAM
#define __DMAP_GST_INPUT_STREAM

#include <glib-object.h>
#include <gio/gio.h>

G_BEGIN_DECLS
#define DMAP_TYPE_GST_INPUT_STREAM         (dmap_gst_input_stream_get_type ())
#define DMAP_GST_INPUT_STREAM(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), \
				               DMAP_TYPE_GST_INPUT_STREAM, \
					       DMAPGstInputStream))
#define DMAP_GST_INPUT_STREAM_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), \
				               DMAP_TYPE_GST_INPUT_STREAM, \
					       DMAPGstInputStreamClass))
#define IS_DMAP_GST_INPUT_STREAM(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), \
				               DMAP_TYPE_GST_INPUT_STREAM))
#define IS_DMAP_GST_INPUT_STREAM_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), \
				               DMAP_TYPE_GST_INPUT_STREAM_CLASS))
#define DMAP_GST_INPUT_STREAM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), \
				               DMAP_TYPE_GST_INPUT_STREAM, \
					       DMAPGstInputStreamClass))
typedef struct DMAPGstInputStreamPrivate DMAPGstInputStreamPrivate;

typedef struct
{
	GInputStream parent;
	DMAPGstInputStreamPrivate *priv;
} DMAPGstInputStream;

typedef struct
{
	GInputStreamClass parent;

	void (*kill_pipeline) (DMAPGstInputStream *);
} DMAPGstInputStreamClass;

GType dmap_gst_input_stream_get_type (void);

/* Supported transcode target formats (data read from DMAPGstInputStream
 * will be in one of these formats): */
enum
{
	RAW,			/* No transcoding performed. */
	WAV16,
	MP3
};

GInputStream *dmap_gst_input_stream_new (const gchar * transcode_mimetype,
					 GInputStream * src_stream);

/* FIXME: this prototype was moved to the specific implementations in order to make this header file work without GStreamer installed:
void dmap_gst_input_stream_new_buffer_cb		 (GstElement *element,
						  DMAPGstInputStream *stream);
						  */

gchar *dmapd_input_stream_strdup_format_extension (const gint format_code);

G_END_DECLS
#endif /* __DMAP_GST_INPUT_STREAM */