This file is indexed.

/usr/share/gtk-doc/html/bonobo-activation/bonobo-activation-Utilities.html is in libbonobo2-dev 2.24.3-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
 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Utilities</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="Bonobo Activation API Reference Manual">
<link rel="up" href="api-reference.html" title="API Reference">
<link rel="prev" href="bonobo-activation-Query-and-Activation.html" title="Query and Activation">
<link rel="next" href="bonobo-activation-Registration.html" title="Registration">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="bonobo-activation-Query-and-Activation.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="api-reference.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">Bonobo Activation API Reference Manual</th>
<td><a accesskey="n" href="bonobo-activation-Registration.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#bonobo-activation-Utilities.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#bonobo-activation-Utilities.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="Utilities">
<a name="bonobo-activation-Utilities"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="bonobo-activation-Utilities.top_of_page"></a>Utilities</span></h2>
<p>Utilities — Random misc utilities to manipulate Bonobo_ServerInfo structures.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="bonobo-activation-Utilities.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;bonobo-activation/bonobo-activation.h&gt;

enum                <a class="link" href="bonobo-activation-Utilities.html#Bonobo-ActivationPropertyType" title="enum Bonobo_ActivationPropertyType">Bonobo_ActivationPropertyType</a>;
<span class="returnvalue">Bonobo_ActivationProperty</span> * <a class="link" href="bonobo-activation-Utilities.html#bonobo-server-info-prop-find" title="bonobo_server_info_prop_find ()">bonobo_server_info_prop_find</a>
                                                        (<em class="parameter"><code><span class="type">Bonobo_ServerInfo</span> *server</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *prop_name</code></em>);
<a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="returnvalue">Bonobo_ActivationID</span></a>  <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-info-stringify" title="bonobo_activation_info_stringify ()">bonobo_activation_info_stringify</a>   (<em class="parameter"><code>const <span class="type">BonoboActivationInfo</span> *actinfo</code></em>);
<span class="returnvalue">BonoboActivationInfo</span> * <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-servinfo-to-actinfo" title="bonobo_activation_servinfo_to_actinfo ()">bonobo_activation_servinfo_to_actinfo</a>
                                                        (<em class="parameter"><code>const <span class="type">Bonobo_ServerInfo</span> *servinfo</code></em>);
<span class="returnvalue">BonoboActivationInfo</span> * <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-id-parse" title="bonobo_activation_id_parse ()">bonobo_activation_id_parse</a>       (<em class="parameter"><code>const <span class="type">CORBA_char</span> *actid</code></em>);
<span class="returnvalue">BonoboActivationInfo</span> * <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-info-new" title="bonobo_activation_info_new ()">bonobo_activation_info_new</a>       (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span>                <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-info-free" title="bonobo_activation_info_free ()">bonobo_activation_info_free</a>         (<em class="parameter"><code><span class="type">BonoboActivationInfo</span> *actinfo</code></em>);
const <span class="returnvalue">char</span> *        <a class="link" href="bonobo-activation-Utilities.html#bonobo-server-info-prop-lookup" title="bonobo_server_info_prop_lookup ()">bonobo_server_info_prop_lookup</a>      (<em class="parameter"><code><span class="type">Bonobo_ServerInfo</span> *server</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *prop_name</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *i18n_languages</code></em>);
typedef             <a class="link" href="bonobo-activation-Utilities.html#Bonobo-ServerInfoList" title="Bonobo_ServerInfoList">Bonobo_ServerInfoList</a>;
<span class="returnvalue">Bonobo_ServerInfo</span> * <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-get-default-component-for-mime-type" title="bonobo_activation_get_default_component_for_mime_type ()">bonobo_activation_get_default_component_for_mime_type</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             <a class="link" href="bonobo-activation-Utilities.html#bonobo-activation-get-all-components-for-mime-type" title="bonobo_activation_get_all_components_for_mime_type ()">bonobo_activation_get_all_components_for_mime_type</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
<a name="bonobo-activation-Utilities.description"></a><h2>Description</h2>
<p>
</p>
</div>
<div class="refsect1" title="Details">
<a name="bonobo-activation-Utilities.details"></a><h2>Details</h2>
<div class="refsect2" title="enum Bonobo_ActivationPropertyType">
<a name="Bonobo-ActivationPropertyType"></a><h3>enum Bonobo_ActivationPropertyType</h3>
<pre class="programlisting">typedef enum {
  Bonobo_ACTIVATION_P_STRING,
  Bonobo_ACTIVATION_P_NUMBER,
  Bonobo_ACTIVATION_P_BOOLEAN,
  Bonobo_ACTIVATION_P_STRINGV
} Bonobo_ActivationPropertyType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="bonobo_server_info_prop_find ()">
<a name="bonobo-server-info-prop-find"></a><h3>bonobo_server_info_prop_find ()</h3>
<pre class="programlisting"><span class="returnvalue">Bonobo_ActivationProperty</span> * bonobo_server_info_prop_find
                                                        (<em class="parameter"><code><span class="type">Bonobo_ServerInfo</span> *server</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *prop_name</code></em>);</pre>
<p>
Tries to find a server with the given property. Returns
NULL if not found.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>server</code></em> :</span></p></td>
<td>the server where to seek the data.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>prop_name</code></em> :</span></p></td>
<td>the data to seek in the server.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a pointer to the <code class="literal">Bonobo_ActivationProperty</code> structure.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_info_stringify ()">
<a name="bonobo-activation-info-stringify"></a><h3>bonobo_activation_info_stringify ()</h3>
<pre class="programlisting"><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="returnvalue">Bonobo_ActivationID</span></a>  bonobo_activation_info_stringify   (<em class="parameter"><code>const <span class="type">BonoboActivationInfo</span> *actinfo</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">bonobo_activation_info_stringify</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Serializes <em class="parameter"><code>actinfo</code></em> into a char *. Should be freed with <a href="/usr/share/gtk-doc/html/glib/glib-Memory-Allocation.html#g-free"><code class="function">g_free()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>actinfo</code></em> :</span></p></td>
<td>the <code class="literal">BonoboActivationInfo</code> to flatten.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the serialized version of <em class="parameter"><code>actinfo</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_servinfo_to_actinfo ()">
<a name="bonobo-activation-servinfo-to-actinfo"></a><h3>bonobo_activation_servinfo_to_actinfo ()</h3>
<pre class="programlisting"><span class="returnvalue">BonoboActivationInfo</span> * bonobo_activation_servinfo_to_actinfo
                                                        (<em class="parameter"><code>const <span class="type">Bonobo_ServerInfo</span> *servinfo</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">bonobo_activation_servinfo_to_actinfo</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function converts a <code class="literal">Bonobo_ServerInfo</code> structure to a
<code class="literal">BonoboActivationInfo</code> structure. The returned structure should
be freed with bonobo_activation_info_free.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>servinfo</code></em> :</span></p></td>
<td>An array of <code class="literal">Bonobo_ServerInfo</code> structures.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated initialized <code class="literal">BonoboActivationInfo</code> structure.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_id_parse ()">
<a name="bonobo-activation-id-parse"></a><h3>bonobo_activation_id_parse ()</h3>
<pre class="programlisting"><span class="returnvalue">BonoboActivationInfo</span> * bonobo_activation_id_parse       (<em class="parameter"><code>const <span class="type">CORBA_char</span> *actid</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">bonobo_activation_id_parse</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Returns a pointer to a newly allocated <code class="literal">BonoboActivationInfo</code>
structure (to be freed with bonobo_activation_info_free) initialized 
with the data of <em class="parameter"><code>actid</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>actid</code></em> :</span></p></td>
<td>the activation id structure.
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <code class="literal">BonoboActivationInfo</code> corresponding to <em class="parameter"><code>actid</code></em>.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_info_new ()">
<a name="bonobo-activation-info-new"></a><h3>bonobo_activation_info_new ()</h3>
<pre class="programlisting"><span class="returnvalue">BonoboActivationInfo</span> * bonobo_activation_info_new       (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">bonobo_activation_info_new</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
This function allocates a <code class="literal">BonoboActicationInfo</code> structure and returns it.
Should NOT be called from outside of this code.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated non-initialized <code class="literal">BonoboActicationInfo</code> structure.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_info_free ()">
<a name="bonobo-activation-info-free"></a><h3>bonobo_activation_info_free ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_activation_info_free         (<em class="parameter"><code><span class="type">BonoboActivationInfo</span> *actinfo</code></em>);</pre>
<div class="warning" title="Warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><code class="literal">bonobo_activation_info_free</code> is deprecated and should not be used in newly-written code.</p>
</div>
<p>
Frees <em class="parameter"><code>actinfo</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>actinfo</code></em> :</span></p></td>
<td>the <code class="literal">BonoboActivationInfo</code> structure to free.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="bonobo_server_info_prop_lookup ()">
<a name="bonobo-server-info-prop-lookup"></a><h3>bonobo_server_info_prop_lookup ()</h3>
<pre class="programlisting">const <span class="returnvalue">char</span> *        bonobo_server_info_prop_lookup      (<em class="parameter"><code><span class="type">Bonobo_ServerInfo</span> *server</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *prop_name</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Singly-Linked-Lists.html#GSList"><span class="type">GSList</span></a> *i18n_languages</code></em>);</pre>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> 
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="Bonobo_ServerInfoList">
<a name="Bonobo-ServerInfoList"></a><h3>Bonobo_ServerInfoList</h3>
<pre class="programlisting">typedef CORBA_sequence_Bonobo_ServerInfo Bonobo_ServerInfoList;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_get_default_component_for_mime_type ()">
<a name="bonobo-activation-get-default-component-for-mime-type"></a><h3>bonobo_activation_get_default_component_for_mime_type ()</h3>
<pre class="programlisting"><span class="returnvalue">Bonobo_ServerInfo</span> * bonobo_activation_get_default_component_for_mime_type
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Query the MIME database for the default Bonobo component to be activated to 
view files of MIME type <em class="parameter"><code>mime_type</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <span class="type">Bonobo_ServerInfo</span> * representing the OAF server to be activated
to get a reference to the proper component.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16.0</p>
</div>
<hr>
<div class="refsect2" title="bonobo_activation_get_all_components_for_mime_type ()">
<a name="bonobo-activation-get-all-components-for-mime-type"></a><h3>bonobo_activation_get_all_components_for_mime_type ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="returnvalue">GList</span></a> *             bonobo_activation_get_all_components_for_mime_type
                                                        (<em class="parameter"><code>const <span class="type">char</span> *mime_type</code></em>);</pre>
<p>
Return an alphabetically sorted list of <span class="type">Bonobo_ServerInfo</span>
data structures representing all Bonobo components registered
to handle files of <em class="parameter"><code>mime_type</code></em> (and supertypes).
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>mime_type</code></em> :</span></p></td>
<td>a const char * containing a mime type, e.g. "image/png".
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a href="/usr/share/gtk-doc/html/glib/glib-Doubly-Linked-Lists.html#GList"><span class="type">GList</span></a> * where the elements are <span class="type">Bonobo_ServerInfo</span> *
representing components that can handle <em class="parameter"><code>mime_type</code></em>.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.16.0</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>