Initialization
Name
Initialization -- Initializing Bonobo Activation and its ORB.
Description
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.
Details
BONOBO_ACTIVATION_MAJOR_VERSION
#define BONOBO_ACTIVATION_MAJOR_VERSION (2) |
BONOBO_ACTIVATION_MINOR_VERSION
#define BONOBO_ACTIVATION_MINOR_VERSION (2) |
BONOBO_ACTIVATION_MICRO_VERSION
#define BONOBO_ACTIVATION_MICRO_VERSION (0) |
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.
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_postinit ()
void bonobo_activation_postinit (gpointer app,
gpointer mod_info); |
bonobo_activation_preinit ()
void bonobo_activation_preinit (gpointer app,
gpointer mod_info); |
bonobo_activation_orb_init ()
CORBA_ORB bonobo_activation_orb_init (int *argc,
char **argv); |
bonobo_activation_orb_get ()
CORBA_ORB bonobo_activation_orb_get (void); |
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.
ev : | CORBA_Environment structure which will contain
the CORBA exception status of the operation. |
Returns : | the name server of bonobo-activation. |
bonobo_activation_get_popt_table_name ()
char* bonobo_activation_get_popt_table_name
(void); |
Get the table name to use for the oaf popt options table when
registering with libgnome
Returns : | A localized copy of the string "bonobo activation options" |
bonobo_activation_hostname_get ()
const char* bonobo_activation_hostname_get (void); |
bonobo_activation_domain_get ()
const char* bonobo_activation_domain_get (void); |
bonobo_activation_username_get()
#define bonobo_activation_username_get() g_get_user_name() |
bonobo_activation_context_get ()
CORBA_Context bonobo_activation_context_get (void); |
bonobo_activation_session_name_get ()
const char* bonobo_activation_session_name_get
(void); |