MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //usr/share/gtk-doc/html/bonobo-activation/bonobo-activation-Initialization.html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Initialization</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.69.1">
<link rel="start" href="index.html" title="Bonobo Activation API Reference Manual">
<link rel="up" href="api-reference.html" title="API Reference">
<link rel="prev" href="api-reference.html" title="API Reference">
<link rel="next" href="bonobo-activation-Query-and-Activation.html" title="Query and Activation">
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="chapter" href="tutorial.html" title="Bonobo Activation tutorial">
<link rel="chapter" href="configuring.html" title="Configuring Bonobo Activation">
<link rel="chapter" href="architecture.html" title="Bonobo Activation Architecture">
<link rel="chapter" href="query-langage.html" title="Bonobo Activation Query Langage">
<link rel="chapter" href="server-xml-reference.html" title=".server file format reference">
<link rel="chapter" href="migrating.html" title="Migrating from gnorba to Bonobo-activation">
<link rel="chapter" href="api-reference.html" title="API Reference">
<link rel="article" href="lgpl.html" title="GNU Lesser General Public License">
</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="api-reference.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-Query-and-Activation.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2971640" class="shortcut">Top</a>
                  &#160;|&#160;
                  <a href="#id2971962" class="shortcut">Description</a></nobr></td></tr>
</table>
<div class="refentry" lang="en">
<a name="bonobo-activation-Initialization"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2>
<a name="id2971640"></a><span class="refentrytitle">Initialization</span>
</h2>
<p>Initialization &#8212; Initializing Bonobo Activation and its ORB.</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<pre class="synopsis">

#include &lt;bonobo-activation/bonobo-activation.h&gt;


#define     <a href="bonobo-activation-Initialization.html#BONOBO-ACTIVATION-MAJOR-VERSION:CAPS">BONOBO_ACTIVATION_MAJOR_VERSION</a>
#define     <a href="bonobo-activation-Initialization.html#BONOBO-ACTIVATION-MINOR-VERSION:CAPS">BONOBO_ACTIVATION_MINOR_VERSION</a>
#define     <a href="bonobo-activation-Initialization.html#BONOBO-ACTIVATION-MICRO-VERSION:CAPS">BONOBO_ACTIVATION_MICRO_VERSION</a>
<a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    <a href="bonobo-activation-Initialization.html#bonobo-activation-is-initialized">bonobo_activation_is_initialized</a>
                                            (void);
CORBA_ORB   <a href="bonobo-activation-Initialization.html#bonobo-activation-init">bonobo_activation_init</a>          (int argc,
                                             char **argv);
CORBA_ORB   <a href="bonobo-activation-Initialization.html#bonobo-activation-orb-init">bonobo_activation_orb_init</a>      (int *argc,
                                             char **argv);
CORBA_ORB   <a href="bonobo-activation-Initialization.html#bonobo-activation-orb-get">bonobo_activation_orb_get</a>       (void);
CORBA_Object <a href="bonobo-activation-Initialization.html#bonobo-activation-name-service-get">bonobo_activation_name_service_get</a>
                                            (CORBA_Environment *ev);

</pre>
</div>
<div class="refsect1" lang="en">
<a name="id2971962"></a><h2>Description</h2>
<p>
These functions allow you to initialize Bonobo Activation and the ORB
it is using. Initializing Bonobo Activation launches the Bonobo Activation daemon if
it is not started.
</p>
</div>
<div class="refsect1" lang="en">
<a name="id2971980"></a><h2>Details</h2>
<div class="refsect2" lang="en">
<a name="id2971990"></a><h3>
<a name="BONOBO-ACTIVATION-MAJOR-VERSION:CAPS"></a>BONOBO_ACTIVATION_MAJOR_VERSION</h3>
<a class="indexterm" name="id2972003"></a><pre class="programlisting">#define BONOBO_ACTIVATION_MAJOR_VERSION (2)
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972019"></a><h3>
<a name="BONOBO-ACTIVATION-MINOR-VERSION:CAPS"></a>BONOBO_ACTIVATION_MINOR_VERSION</h3>
<a class="indexterm" name="id2972033"></a><pre class="programlisting">#define BONOBO_ACTIVATION_MINOR_VERSION (16)
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972049"></a><h3>
<a name="BONOBO-ACTIVATION-MICRO-VERSION:CAPS"></a>BONOBO_ACTIVATION_MICRO_VERSION</h3>
<a class="indexterm" name="id2972062"></a><pre class="programlisting">#define BONOBO_ACTIVATION_MICRO_VERSION (0)
</pre>
<p>

</p>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972078"></a><h3>
<a name="bonobo-activation-is-initialized"></a>bonobo_activation_is_initialized ()</h3>
<a class="indexterm" name="id2972092"></a><pre class="programlisting"><a
href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"
>gboolean</a>    bonobo_activation_is_initialized
                                            (void);</pre>
<p>
Tells you whether or not bonobo-activation is initialized.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> whether bonobo-activation is initialized or not.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972132"></a><h3>
<a name="bonobo-activation-init"></a>bonobo_activation_init ()</h3>
<a class="indexterm" name="id2972147"></a><pre class="programlisting">CORBA_ORB   bonobo_activation_init          (int argc,
                                             char **argv);</pre>
<p>
Initializes bonobo-activation. Should be called before any other
call to the library.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>argc</code></em>&#160;:</span></td>
<td> number of command-line arguments passed to the program.
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argv</code></em>&#160;:</span></td>
<td> array of strings containing the command-line 
       arguments of the program.
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the ORB used by bonobo-activation.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972233"></a><h3>
<a name="bonobo-activation-orb-init"></a>bonobo_activation_orb_init ()</h3>
<a class="indexterm" name="id2972246"></a><pre class="programlisting">CORBA_ORB   bonobo_activation_orb_init      (int *argc,
                                             char **argv);</pre>
<p>
Initialize Bonobo Activation's ORB - do this once centrally
so it can be easily shared.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>argc</code></em>&#160;:</span></td>
<td> pointer to program's argument count
</td>
</tr>
<tr>
<td>
<span class="term"><em class="parameter"><code>argv</code></em>&#160;:</span></td>
<td> argument array
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the ORB.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972329"></a><h3>
<a name="bonobo-activation-orb-get"></a>bonobo_activation_orb_get ()</h3>
<a class="indexterm" name="id2972342"></a><pre class="programlisting">CORBA_ORB   bonobo_activation_orb_get       (void);</pre>
<p>
Returns the ORB used by OAF.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the ORB used by OAF.
</td>
</tr></tbody>
</table></div>
</div>
<hr>
<div class="refsect2" lang="en">
<a name="id2972383"></a><h3>
<a name="bonobo-activation-name-service-get"></a>bonobo_activation_name_service_get ()</h3>
<a class="indexterm" name="id2972397"></a><pre class="programlisting">CORBA_Object bonobo_activation_name_service_get
                                            (CORBA_Environment *ev);</pre>
<p>
Returns the name server of bonobo-activation. <em class="parameter"><code>ev</code></em> can be NULL.</p>
<p>

</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td>
<span class="term"><em class="parameter"><code>ev</code></em>&#160;:</span></td>
<td> <code class="literal">CORBA_Environment</code> structure which will contain 
     the CORBA exception status of the operation. 
</td>
</tr>
<tr>
<td>
<span class="term"><span class="emphasis"><em>Returns</em></span>&#160;:</span></td>
<td> the name server of bonobo-activation.
</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
</body>
</html>