This file is indexed.

/usr/share/gtk-doc/html/bonobo-activation/bonobo-activation-Query-and-Activation.html is in libbonobo2-dev 2.32.1-3.

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
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Query and Activation</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<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-Initialization.html" title="Initialization">
<link rel="next" href="bonobo-activation-Utilities.html" title="Utilities">
<meta name="generator" content="GTK-Doc V1.19 (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-Initialization.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-Utilities.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-Query-and-Activation.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#bonobo-activation-Query-and-Activation.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry">
<a name="bonobo-activation-Query-and-Activation"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="bonobo-activation-Query-and-Activation.top_of_page"></a>Query and Activation</span></h2>
<p>Query and Activation — Querying for components and Activating them</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<a name="bonobo-activation-Query-and-Activation.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;bonobo-activation/bonobo-activation.h&gt;

typedef             <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ImplementationID" title="Bonobo_ImplementationID">Bonobo_ImplementationID</a>;
typedef             <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID">Bonobo_ActivationID</a>;
typedef             <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags">Bonobo_ActivationFlags</a>;
                    <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationResultType" title="Bonobo_ActivationResultType">Bonobo_ActivationResultType</a>;
<span class="returnvalue">Bonobo_ServerInfoList</span> * <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-query" title="bonobo_activation_query ()">bonobo_activation_query</a>         (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);
<span class="returnvalue">CORBA_Object</span>        <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-activate" title="bonobo_activation_activate ()">bonobo_activation_activate</a>          (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> *ret_aid</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);
<span class="returnvalue">CORBA_Object</span>        <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-activate-from-id" title="bonobo_activation_activate_from_id ()">bonobo_activation_activate_from_id</a>  (<em class="parameter"><code>const <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> aid</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> *ret_aid</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);
<span class="returnvalue">void</span>                (<a class="link" href="bonobo-activation-Query-and-Activation.html#BonoboActivationCallback" title="BonoboActivationCallback ()">*BonoboActivationCallback</a>)         (<em class="parameter"><code><span class="type">CORBA_Object</span> activated_object</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *error_reason</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-activate-async" title="bonobo_activation_activate_async ()">bonobo_activation_activate_async</a>    (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#BonoboActivationCallback" title="BonoboActivationCallback ()"><span class="type">BonoboActivationCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-activate-from-id-async" title="bonobo_activation_activate_from_id_async ()">bonobo_activation_activate_from_id_async</a>
                                                        (<em class="parameter"><code>const <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> aid</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#BonoboActivationCallback" title="BonoboActivationCallback ()"><span class="type">BonoboActivationCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="bonobo-activation-Query-and-Activation.html#bonobo-activation-set-activation-env-value" title="bonobo_activation_set_activation_env_value ()">bonobo_activation_set_activation_env_value</a>
                                                        (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);
</pre>
</div>
<div class="refsect1">
<a name="bonobo-activation-Query-and-Activation.description"></a><h2>Description</h2>
<p>
This section describes how you can query for components
and activate them.
</p>
<p>
Two set of functions are described: synchronous and
asynchronous ones. The asynchronous version of the functions
allow you to avoid blocking your application while the CORBA
servers are started.
</p>
</div>
<div class="refsect1">
<a name="bonobo-activation-Query-and-Activation.details"></a><h2>Details</h2>
<div class="refsect2">
<a name="Bonobo-ImplementationID"></a><h3>Bonobo_ImplementationID</h3>
<pre class="programlisting">typedef CORBA_string Bonobo_ImplementationID;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="Bonobo-ActivationID"></a><h3>Bonobo_ActivationID</h3>
<pre class="programlisting">typedef CORBA_string Bonobo_ActivationID;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="Bonobo-ActivationFlags"></a><h3>Bonobo_ActivationFlags</h3>
<pre class="programlisting">typedef CORBA_long Bonobo_ActivationFlags;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="Bonobo-ActivationResultType"></a><h3>Bonobo_ActivationResultType</h3>
<pre class="programlisting">typedef struct {
 CORBA_unsigned_long _maximum, _length; Bonobo_ActivationEnvValue* _buffer; CORBA_boolean _release; } CORBA_sequence_Bonobo_ActivationEnvValue;
#endif
#if !defined(TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_0)
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_0 'B'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_1 'o'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_2 'n'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_3 'o'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_4 'b'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_5 'o'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_6 '_'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_7 'A'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_8 'c'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_9 't'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_10 'i'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_11 'v'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_12 'a'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_13 't'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_14 'i'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_15 'o'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_16 'n'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_17 '_'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_18 't'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_19 'y'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_20 'p'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_21 'e'
#define TC_IMPL_TC_CORBA_sequence_Bonobo_ActivationEnvValue_22 's'
#ifdef ORBIT_IDL_C_IMODULE_Bonobo_Activation_types
static
#else
extern
#endif
ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_CORBA_sequence_Bonobo_ActivationEnvValue_struct;
#define TC_CORBA_sequence_Bonobo_ActivationEnvValue ((CORBA_TypeCode)&amp;TC_CORBA_sequence_Bonobo_ActivationEnvValue_struct)
#endif
#define CORBA_sequence_Bonobo_ActivationEnvValue__alloc() ((CORBA_sequence_Bonobo_ActivationEnvValue *)ORBit_small_alloc (TC_CORBA_sequence_Bonobo_ActivationEnvValue))
#define CORBA_sequence_Bonobo_ActivationEnvValue__freekids(m,d) ORBit_small_freekids (TC_CORBA_sequence_Bonobo_ActivationEnvValue,(m),(d))
#define CORBA_sequence_Bonobo_ActivationEnvValue_allocbuf(l) ((Bonobo_ActivationEnvValue*)ORBit_small_allocbuf (TC_CORBA_sequence_Bonobo_ActivationEnvValue, (l)))
#define CORBA_sequence_Bonobo_ActivationEnvValue_allocbuf(l) ((Bonobo_ActivationEnvValue*)ORBit_small_allocbuf (TC_CORBA_sequence_Bonobo_ActivationEnvValue, (l)))
#endif
#if !defined(_Bonobo_ActivationEnvironment_defined)
#define _Bonobo_ActivationEnvironment_defined 1
typedef CORBA_sequence_Bonobo_ActivationEnvValue Bonobo_ActivationEnvironment;
#define Bonobo_ActivationEnvironment_marshal(x,y,z) CORBA_sequence_Bonobo_ActivationEnvValue_marshal((x),(y),(z))
#define Bonobo_ActivationEnvironment_demarshal(x,y,z,i) CORBA_sequence_Bonobo_ActivationEnvValue_demarshal((x),(y),(z),(i))
#if !defined(TC_IMPL_TC_Bonobo_ActivationEnvironment_0)
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_0 'B'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_1 'o'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_2 'n'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_3 'o'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_4 'b'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_5 'o'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_6 '_'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_7 'A'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_8 'c'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_9 't'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_10 'i'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_11 'v'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_12 'a'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_13 't'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_14 'i'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_15 'o'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_16 'n'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_17 '_'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_18 't'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_19 'y'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_20 'p'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_21 'e'
#define TC_IMPL_TC_Bonobo_ActivationEnvironment_22 's'
#ifdef ORBIT_IDL_C_IMODULE_Bonobo_Activation_types
static
#else
extern
#endif
ORBIT2_MAYBE_CONST struct CORBA_TypeCode_struct TC_Bonobo_ActivationEnvironment_struct;
#define TC_Bonobo_ActivationEnvironment ((CORBA_TypeCode)&amp;TC_Bonobo_ActivationEnvironment_struct)
#endif
#define Bonobo_ActivationEnvironment__alloc() ((Bonobo_ActivationEnvironment *)ORBit_small_alloc (TC_CORBA_sequence_Bonobo_ActivationEnvValue))
#define Bonobo_ActivationEnvironment__freekids(m,d) ORBit_small_freekids (TC_CORBA_sequence_Bonobo_ActivationEnvValue,(m),(d))
#define Bonobo_ActivationEnvironment_allocbuf(l) ((Bonobo_ActivationEnvValue*)ORBit_small_allocbuf (TC_CORBA_sequence_Bonobo_ActivationEnvValue, (l)))
#endif
#if !defined(_Bonobo_ActivationResultType_defined)
#define _Bonobo_ActivationResultType_defined 1
typedef enum {
  Bonobo_ACTIVATION_RESULT_OBJECT,
  Bonobo_ACTIVATION_RESULT_SHLIB,
  Bonobo_ACTIVATION_RESULT_NONE
} Bonobo_ActivationResultType;
</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-query"></a><h3>bonobo_activation_query ()</h3>
<pre class="programlisting"><span class="returnvalue">Bonobo_ServerInfoList</span> * bonobo_activation_query         (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);</pre>
<p>
Executes the <em class="parameter"><code>requirements</code></em> query on the bonobo-activation-server.
The result is sorted according to <em class="parameter"><code>selection_order</code></em>. 
<em class="parameter"><code>selection_order</code></em> can safely be NULL as well as <em class="parameter"><code>ev</code></em>.
The returned list has to be freed with CORBA_free.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>requirements</code></em> :</span></p></td>
<td>query string.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection_order</code></em> :</span></p></td>
<td>sort criterion for returned list.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ev</code></em> :</span></p></td>
<td>a <code class="literal">CORBA_Environment</code> structure which will contain
the CORBA exception status of the operation, or NULL</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the list of servers matching the requirements.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-activate"></a><h3>bonobo_activation_activate ()</h3>
<pre class="programlisting"><span class="returnvalue">CORBA_Object</span>        bonobo_activation_activate          (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> *ret_aid</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);</pre>
<p>
Activates a given object. <em class="parameter"><code>ret_aid</code></em> can be safely NULLed as well
as <em class="parameter"><code>ev</code></em> and <em class="parameter"><code>selection_order</code></em>. <em class="parameter"><code>flags</code></em> can be set to zero if you do 
not what to use.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>requirements</code></em> :</span></p></td>
<td>query string.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection_order</code></em> :</span></p></td>
<td>sort criterion for returned list.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>how to activate the object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_aid</code></em> :</span></p></td>
<td>AID of the activated object.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ev</code></em> :</span></p></td>
<td>
<code class="literal">CORBA_Environment</code> structure which will contain
the CORBA exception status of the operation.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>the CORBA object reference of the activated object.
This value can be CORBA_OBJECT_NIL: you are supposed
to check <em class="parameter"><code>ev</code></em> for success.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-activate-from-id"></a><h3>bonobo_activation_activate_from_id ()</h3>
<pre class="programlisting"><span class="returnvalue">CORBA_Object</span>        bonobo_activation_activate_from_id  (<em class="parameter"><code>const <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> aid</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> *ret_aid</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);</pre>
<p>
Activates the server corresponding to <em class="parameter"><code>aid</code></em>. <em class="parameter"><code>ret_aid</code></em> can be safely 
NULLed as well as <em class="parameter"><code>ev</code></em>. <em class="parameter"><code>flags</code></em> can be zero if you do not know what 
to do.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>aid</code></em> :</span></p></td>
<td>AID or IID of the object to activate.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>activation flag.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ret_aid</code></em> :</span></p></td>
<td>AID of the activated server.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ev</code></em> :</span></p></td>
<td>
<code class="literal">CORBA_Environment</code> structure which will contain
the CORBA exception status of the operation.</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td>a CORBA object reference to the newly activated
server. Do not forget to check <em class="parameter"><code>ev</code></em> for failure!!</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="BonoboActivationCallback"></a><h3>BonoboActivationCallback ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                (*BonoboActivationCallback)         (<em class="parameter"><code><span class="type">CORBA_Object</span> activated_object</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *error_reason</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>
This is the signature of the function which you must pass
as a callback to the asynchrounous activation functions.
</p>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-activate-async"></a><h3>bonobo_activation_activate_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_activation_activate_async    (<em class="parameter"><code>const <span class="type">char</span> *requirements</code></em>,
                                                         <em class="parameter"><code><span class="type">char</span> *const *selection_order</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#BonoboActivationCallback" title="BonoboActivationCallback ()"><span class="type">BonoboActivationCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);</pre>
<p>
This function will asynchronously try to activate a component
given the <em class="parameter"><code>requirements</code></em> query string. When the component is
activated or when the activation fails, it will call <em class="parameter"><code>callback</code></em>
with the given <em class="parameter"><code>user_data</code></em> data as parameter.
callback will be called with a CORBA_OBJECT_NIL object if the
activation fails. If the activation fails, the callback will be
given a human-readable string containing a description of the
error. In case of sucess, the error string value is undefined.
</p>
<p>
<em class="parameter"><code>selection_order</code></em> can be safely NULLed as well as <em class="parameter"><code>ev</code></em> and
<em class="parameter"><code>user_data</code></em>. <em class="parameter"><code>flags</code></em> can be set to 0 if you do not know what to
use.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>requirements</code></em> :</span></p></td>
<td>the bonobo-activation query string.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>selection_order</code></em> :</span></p></td>
<td>preference array.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>activation flags.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>data to be poassed to the callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ev</code></em> :</span></p></td>
<td>exception structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-activate-from-id-async"></a><h3>bonobo_activation_activate_from_id_async ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_activation_activate_from_id_async
                                                        (<em class="parameter"><code>const <a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationID" title="Bonobo_ActivationID"><span class="type">Bonobo_ActivationID</span></a> aid</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#Bonobo-ActivationFlags" title="Bonobo_ActivationFlags"><span class="type">Bonobo_ActivationFlags</span></a> flags</code></em>,
                                                         <em class="parameter"><code><a class="link" href="bonobo-activation-Query-and-Activation.html#BonoboActivationCallback" title="BonoboActivationCallback ()"><span class="type">BonoboActivationCallback</span></a> callback</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>,
                                                         <em class="parameter"><code><span class="type">CORBA_Environment</span> *ev</code></em>);</pre>
<p>
This function will asynchronously try to activate a component
with the given <em class="parameter"><code>aid</code></em>. When the component is
activated or when the activation fails, it will call <em class="parameter"><code>callback</code></em>
with the given <em class="parameter"><code>user_data</code></em> data as parameter.
callback will be called with a CORBA_OBJECT_NIL object if the
activation fails. If the activation fails, the callback will be
given a human-readable string containing a description of the
error. In case of sucess, the error string value is undefined.
</p>
<p>
<em class="parameter"><code>flags</code></em> can be 0 if you do not know what to set it to and
<em class="parameter"><code>ev</code></em> can be safely set to NULL.
</p>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>aid</code></em> :</span></p></td>
<td>the AID or IID of the component to activate.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flags</code></em> :</span></p></td>
<td>activation flags.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>callback</code></em> :</span></p></td>
<td>callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>data to be poassed to the callback function.</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>ev</code></em> :</span></p></td>
<td>exception structure.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2">
<a name="bonobo-activation-set-activation-env-value"></a><h3>bonobo_activation_set_activation_env_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                bonobo_activation_set_activation_env_value
                                                        (<em class="parameter"><code>const <span class="type">char</span> *name</code></em>,
                                                         <em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre>
<p>
</p>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.19</div>
</body>
</html>