This file is indexed.

/usr/include/libbonobo-2.0/bonobo/bonobo-shlib-factory.h is in libbonobo2-dev 2.32.1-0ubuntu5.

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
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/**
 * bonobo-shlib-factory.h: a ShlibFactory object.
 *
 * Author:
 *    Michael Meeks (michael@helixcode.com)
 *
 * Copyright 2000, 2001 Ximian, Inc.
 */
#ifndef _BONOBO_SHLIB_FACTORY_H_
#define _BONOBO_SHLIB_FACTORY_H_


#include <glib-object.h>
#include <bonobo/Bonobo.h>
#include <bonobo/bonobo-object.h>
#include <bonobo/bonobo-generic-factory.h>
#include <bonobo/bonobo-exception.h>

G_BEGIN_DECLS
 
#define BONOBO_TYPE_SHLIB_FACTORY        (bonobo_shlib_factory_get_type ())
#define BONOBO_SHLIB_FACTORY_TYPE        BONOBO_TYPE_SHLIB_FACTORY /* deprecated, you should use BONOBO_TYPE_SHLIB_FACTORY */
#define BONOBO_SHLIB_FACTORY(o)          (G_TYPE_CHECK_INSTANCE_CAST ((o), BONOBO_TYPE_SHLIB_FACTORY, BonoboShlibFactory))
#define BONOBO_SHLIB_FACTORY_CLASS(k)    (G_TYPE_CHECK_CLASS_CAST((k), BONOBO_TYPE_SHLIB_FACTORY, BonoboShlibFactoryClass))
#define BONOBO_IS_SHLIB_FACTORY(o)       (G_TYPE_CHECK_INSTANCE_TYPE ((o), BONOBO_TYPE_SHLIB_FACTORY))
#define BONOBO_IS_SHLIB_FACTORY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), BONOBO_TYPE_SHLIB_FACTORY))

typedef struct _BonoboShlibFactoryPrivate BonoboShlibFactoryPrivate;
typedef struct _BonoboShlibFactory        BonoboShlibFactory;
					
struct _BonoboShlibFactory {
	BonoboGenericFactory base;

	BonoboShlibFactoryPrivate *priv;
};

typedef struct {
	BonoboGenericFactoryClass parent_class;
} BonoboShlibFactoryClass;

GType               bonobo_shlib_factory_get_type     (void) G_GNUC_CONST;

BonoboShlibFactory *bonobo_shlib_factory_construct    (BonoboShlibFactory    *factory,
						       const char            *act_iid,
						       PortableServer_POA     poa,
						       gpointer               act_impl_ptr,
						       GClosure              *closure);

BonoboShlibFactory *bonobo_shlib_factory_new          (const char            *component_id,
						       PortableServer_POA     poa,
						       gpointer               act_impl_ptr,
						       BonoboFactoryCallback  factory_cb,
						       gpointer               user_data);

BonoboShlibFactory *bonobo_shlib_factory_new_closure  (const char            *act_iid,
						       PortableServer_POA     poa,
						       gpointer               act_impl_ptr,
						       GClosure              *factory_closure);

Bonobo_Unknown      bonobo_shlib_factory_std          (const char            *component_id,
						       PortableServer_POA     poa,
						       gpointer               act_impl_ptr,
						       BonoboFactoryCallback  factory_cb,
						       gpointer               user_data,
						       CORBA_Environment     *ev);

#define BONOBO_OAF_SHLIB_FACTORY(oafiid, descr, fn, data)                     \
	BONOBO_ACTIVATION_SHLIB_FACTORY(oafiid, descr, fn, data)
#define BONOBO_OAF_SHLIB_FACTORY_MULTI(oafiid, descr, fn, data)               \
	BONOBO_ACTIVATION_SHLIB_FACTORY(oafiid, descr, fn, data)

#define BONOBO_ACTIVATION_SHLIB_FACTORY(oafiid, descr, fn, data)	      \
static Bonobo_Unknown                                                         \
make_factory (PortableServer_POA poa, const char *iid, gpointer impl_ptr,     \
	      CORBA_Environment *ev)                                          \
{                                                                             \
	return bonobo_shlib_factory_std (oafiid, poa, impl_ptr, fn, data, ev);\
}                                                                             \
static BonoboActivationPluginObject plugin_list[] = {{oafiid, make_factory}, { NULL } };   \
const  BonoboActivationPlugin Bonobo_Plugin_info = { plugin_list, descr };

G_END_DECLS

#endif