This file is indexed.

/usr/include/gnome-bluetooth/bluetooth-plugin.h is in libgnome-bluetooth-dev 3.8.2.1-0ubuntu4.

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
#ifndef _GNOME_BLUETOOTH_PLUGIN_H_
#define _GNOME_BLUETOOTH_PLUGIN_H_

#include <gmodule.h>
#include <gtk/gtk.h>

/**
 * SECTION:bluetooth-plugin
 * @short_description: Bluetooth plug-in
 * @stability: Stable
 * @include: bluetooth-plugin.h
 *
 * Plug-ins can be used to extend set up wizards and preferences.
 **/

typedef struct _GbtPluginInfo GbtPluginInfo;
typedef struct _GbtPlugin GbtPlugin;

/**
 * GbtPluginInfo:
 * @id: A unique ID representing the plugin
 * @has_config_widget: Whether the passed Bluetooth address and UUIDs would have a configuration widget
 * @get_config_widgets: Returns the configuration widget for the passed Bluetooth address and UUIDs
 * @device_removed: Remove any configuration relating to the Bluetooth address passed
 *
 * A structure representing a gnome-bluetooth wizard and properties plugin. You should also call GBT_INIT_PLUGIN() on the plugin structure to export it.
 **/
struct _GbtPluginInfo 
{
	const char                         *id;
	gboolean (* has_config_widget)     (const char *bdaddr, const char **uuids);
	GtkWidget * (* get_config_widgets) (const char *bdaddr, const char **uuids);
	void (* device_removed)            (const char *bdaddr);
};

/**
 * GbtPlugin:
 * @module: the #GModule for the opened shared library
 * @info: a #GbtPluginInfo structure
 *
 * A structure as used in gnome-bluetooth.
 **/
struct _GbtPlugin
{
	GModule *module;
	GbtPluginInfo *info;
};

/**
* GBT_INIT_PLUGIN:
* @plugininfo: a #GbtPluginInfo structure representing the plugin
*
* Call this on an #GbtPluginInfo structure to make it available to gnome-bluetooth.
**/
#define GBT_INIT_PLUGIN(plugininfo)					\
	gboolean gbt_init_plugin (GbtPlugin *plugin);			\
	G_MODULE_EXPORT gboolean					\
	gbt_init_plugin (GbtPlugin *plugin) {				\
		plugin->info = &(plugininfo);				\
		return TRUE;						\
	}

#endif /* _GNOME_BLUETOOTH_PLUGIN_H_ */