This file is indexed.

/usr/include/liburfkill-glib/urf-client.h is in liburfkill-glib-dev 0.4.0+20140119.184011.2a32da2-0ubuntu2.

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
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*-
 *
 * Copyright (C) 2010-2011 Gary Ching-Pang Lin <glin@suse.com>
 *
 * Licensed under the GNU Lesser General Public License Version 2.1
 *
 * 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
 */

#if !defined (__URFKILL_H_INSIDE__) && !defined (URF_COMPILATION)
#error "Only <urfkill.h> can be included directly."
#endif

#ifndef __URF_CLIENT_H
#define __URF_CLIENT_H

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

#include "urf-device.h"
#include "urf-enum.h"

G_BEGIN_DECLS

#define URF_TYPE_CLIENT			(urf_client_get_type ())
#define URF_CLIENT(o)			(G_TYPE_CHECK_INSTANCE_CAST ((o), URF_TYPE_CLIENT, UrfClient))
#define URF_CLIENT_CLASS(k)		(G_TYPE_CHECK_CLASS_CAST((k), URF_TYPE_CLIENT, UrfClientClass))
#define URF_IS_CLIENT(o)		(G_TYPE_CHECK_INSTANCE_TYPE ((o), URF_TYPE_CLIENT))
#define URF_IS_CLIENT_CLASS(k)		(G_TYPE_CHECK_CLASS_TYPE ((k), URF_TYPE_CLIENT))
#define URF_CLIENT_GET_CLASS(o)		(G_TYPE_INSTANCE_GET_CLASS ((o), URF_TYPE_CLIENT, UrfClientClass))

typedef struct _UrfClient UrfClient;
typedef struct _UrfClientClass UrfClientClass;
typedef struct _UrfClientPrivate UrfClientPrivate;

/**
 * UrfClient:
 *
 * The UrfClient struct contains only private fields
 * and should not be directly accessed.
 **/
struct _UrfClient
{
	/*< private >*/
	GObject			 parent;
	UrfClientPrivate	*priv;
};

/**
 * UrfClientClass:
 *
 * Class structure for #UrfClient
 **/
struct _UrfClientClass
{
	/*< private >*/
	GObjectClass		 parent_class;
	void			(*device_added)		(UrfClient	*client,
							 UrfDevice	*device);
	void			(*device_removed)	(UrfClient	*client,
							 UrfDevice	*device);
	void			(*device_changed)	(UrfClient	*client,
							 UrfDevice	*device);
	void			(*rf_key_pressed)	(UrfClient	*client,
							 const int	 keycode);
};

/* general */
GType		 urf_client_get_type			(void);
UrfClient	*urf_client_new				(void);

/* generic */
gboolean	 urf_client_enumerate_devices_sync	(UrfClient	*client,
							 GCancellable	*cancellable,
							 GError		**error);
GList		*urf_client_get_devices			(UrfClient	*client);
gboolean	 urf_client_set_block 			(UrfClient	*client,
							 UrfEnumType	 type,
							 const gboolean	 block,
							 GCancellable	*cancellable,
							 GError		**error);
gboolean	 urf_client_set_block_idx 		(UrfClient	*client,
							 const guint	 index,
							 const gboolean	 block,
							 GCancellable	*cancellable,
							 GError		**error);
gboolean	 urf_client_is_inhibited		(UrfClient	*client,
							 GError		**error);
guint		 urf_client_inhibit			(UrfClient	*client,
							 const char	*reason,
							 GError		**error);
void		 urf_client_uninhibit			(UrfClient	*client,
							 const guint	 cookie);

/* specific type */
gboolean	 urf_client_set_wlan_block		(UrfClient	*client,
							 const gboolean  block);
gboolean	 urf_client_set_bluetooth_block		(UrfClient	*client,
							 const gboolean  block);
gboolean	 urf_client_set_wwan_block		(UrfClient	*client,
							 const gboolean  block);

/* accessors */
const char	*urf_client_get_daemon_version		(UrfClient	*client);

G_END_DECLS

#endif /* __URF_CLIENT_H */