Initialization

Initialization

Functions

Types and Values

Includes

#include <bonobo-activation/bonobo-activation.h>

Description

Functions

bonobo_activation_is_initialized ()

gboolean
bonobo_activation_is_initialized (void);

Tells you whether or not bonobo-activation is initialized.

Returns

whether bonobo-activation is initialized or not.


bonobo_activation_init ()

CORBA_ORB
bonobo_activation_init (int argc,
                        char **argv);

Initializes bonobo-activation. Should be called before any other call to the library.

Parameters

argc

number of command-line arguments passed to the program.

 

argv

array of strings containing the command-line arguments of the program.

 

Returns

the ORB used by bonobo-activation.


bonobo_activation_orb_init ()

CORBA_ORB
bonobo_activation_orb_init (int *argc,
                            char **argv);

Initialize Bonobo Activation's ORB - do this once centrally so it can be easily shared.

Parameters

argc

pointer to program's argument count

 

argv

argument array

 

Returns

the ORB.


bonobo_activation_orb_get ()

CORBA_ORB
bonobo_activation_orb_get (void);

Returns the ORB used by OAF.

Returns

the ORB used by OAF.


bonobo_activation_name_service_get ()

CORBA_Object
bonobo_activation_name_service_get (CORBA_Environment *ev);

Returns the name server of bonobo-activation. ev can be NULL.

Parameters

ev

CORBA_Environment structure which will contain the CORBA exception status of the operation.

 

Returns

the name server of bonobo-activation.

Types and Values

BONOBO_ACTIVATION_MAJOR_VERSION

#define BONOBO_ACTIVATION_MAJOR_VERSION (2)

BONOBO_ACTIVATION_MINOR_VERSION

#define BONOBO_ACTIVATION_MINOR_VERSION (32)

BONOBO_ACTIVATION_MICRO_VERSION

#define BONOBO_ACTIVATION_MICRO_VERSION (1)