This file is indexed.

/usr/include/libdmapsharing-3.0/libdmapsharing/dmap-mdns-publisher.h is in libdmapsharing-3.0-dev 2.9.14-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
82
/* Header for abstraction of Multicast DNS for DMAP sharing
 *
 * Copyright (C) 2005 Charles Schmidt <cschmidt2@emich.edu>
 * Copyright (C) 2006 William Jon McCann <mccann@jhu.edu>
 *
 * Modifications 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_MDNS_PUBLISHER_H
#define __DMAP_MDNS_PUBLISHER_H

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

G_BEGIN_DECLS
#define DMAP_TYPE_MDNS_PUBLISHER         (dmap_mdns_publisher_get_type ())
#define DMAP_MDNS_PUBLISHER(o)           (G_TYPE_CHECK_INSTANCE_CAST ((o), DMAP_TYPE_MDNS_PUBLISHER, DMAPMdnsPublisher))
#define DMAP_MDNS_PUBLISHER_CLASS(k)     (G_TYPE_CHECK_CLASS_CAST((k), DMAP_TYPE_MDNS_PUBLISHER, DMAPMdnsPublisherClass))
#define IS_DMAP_MDNS_PUBLISHER(o)        (G_TYPE_CHECK_INSTANCE_TYPE ((o), DMAP_TYPE_MDNS_PUBLISHER))
#define IS_DMAP_MDNS_PUBLISHER_CLASS(k)  (G_TYPE_CHECK_CLASS_TYPE ((k), DMAP_TYPE_MDNS_PUBLISHER))
#define DMAP_MDNS_PUBLISHER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), DMAP_TYPE_MDNS_PUBLISHER, DMAPMdnsPublisherClass))
typedef struct DMAPMdnsPublisherPrivate DMAPMdnsPublisherPrivate;

typedef struct
{
	GObject object;

	DMAPMdnsPublisherPrivate *priv;
} DMAPMdnsPublisher;

typedef struct
{
	GObjectClass parent_class;

	void (*published) (DMAPMdnsPublisher * publisher, const char *name);
	void (*name_collision) (DMAPMdnsPublisher * publisher,
				const char *name);
} DMAPMdnsPublisherClass;

typedef enum
{
	DMAP_MDNS_PUBLISHER_ERROR_NOT_RUNNING,
	DMAP_MDNS_PUBLISHER_ERROR_FAILED,
} DMAPMdnsPublisherError;

#define DMAP_MDNS_PUBLISHER_ERROR dmap_mdns_publisher_error_quark ()

GQuark dmap_mdns_publisher_error_quark (void);

GType dmap_mdns_publisher_get_type (void);

DMAPMdnsPublisher *dmap_mdns_publisher_new (void);
gboolean dmap_mdns_publisher_publish (DMAPMdnsPublisher * publisher,
				      const char *name,
				      guint port,
				      const char *type_of_service,
				      gboolean password_required,
				      gchar ** txt_records, GError ** error);
gboolean dmap_mdns_publisher_rename_at_port (DMAPMdnsPublisher * publisher,
					     guint port,
					     const char *name,
					     GError ** error);
gboolean dmap_mdns_publisher_withdraw (DMAPMdnsPublisher * publisher,
				       guint port, GError ** error);

G_END_DECLS
#endif /* __DMAP_MDNS_PUBLISHER_H */