Name
gnorba -- Utility routines for making CORBA use easy within GNOME applications.
Synopsis
enum GnorbaInitFlags;
CORBA_ORB gnome_CORBA_init (const char *app_id,
const char *app_version,
int *argc,
char **argv,
GnorbaInitFlags gnorba_flags,
CORBA_Environment *ev);
CORBA_ORB gnome_CORBA_init_with_popt_table
(const char *app_id,
const char *app_version,
int *argc,
char **argv,
const struct poptOption *options,
int popt_flags,
poptContext *return_ctx,
GnorbaInitFlags gnorba_flags,
CORBA_Environment *ev);
CORBA_ORB gnome_CORBA_ORB (void);
CORBA_ORB gnorba_CORBA_init (int *argc,
char **argv,
GnorbaInitFlags flags,
CORBA_Environment *ev);
CORBA_Object gnome_name_service_get (void); |
Description
The gnorba routines relate to making basic use of CORBA in a GNOME
application. This covers integrating the ORBit main loop with glib,
adding basic security to CORBA connections, and accessing the CORBA
name service for the session.
Details
enum GnorbaInitFlags
typedef enum {
GNORBA_INIT_SERVER_FUNC = 1 << 0,
GNORBA_INIT_DISABLE_COOKIES = 1 << 1
} GnorbaInitFlags; |
gnome_CORBA_init ()
CORBA_ORB gnome_CORBA_init (const char *app_id,
const char *app_version,
int *argc,
char **argv,
GnorbaInitFlags gnorba_flags,
CORBA_Environment *ev); |
Wrapper around the GNORBA CORBA support routines for GNOME applications.
This routine takes care of calling gnome_init after registering our
command line arguments. After gnome_init is invoked, the GNORBA CORBA
setup is bootstrapped by calling gnorba_CORBA_init for you.
gnome_CORBA_init_with_popt_table ()
CORBA_ORB gnome_CORBA_init_with_popt_table
(const char *app_id,
const char *app_version,
int *argc,
char **argv,
const struct poptOption *options,
int popt_flags,
poptContext *return_ctx,
GnorbaInitFlags gnorba_flags,
CORBA_Environment *ev); |
Wrapper around the GNORBA CORBA support routines for GNOME applications.
This routine takes care of calling gnome_init after registering our
command line arguments. After gnome_init is invoked, the GNORBA CORBA
setup is bootstrapped by calling gnorba_CORBA_init for you.
This differs from gnome_CORBA_init only in that it provides a way
to pass a table of popt options for argument parsing.
If you pass return_ctx, you need to release it with the proper popt
routine where you are done.
gnome_CORBA_ORB ()
CORBA_ORB gnome_CORBA_ORB (void); |
gnorba_CORBA_init ()
CORBA_ORB gnorba_CORBA_init (int *argc,
char **argv,
GnorbaInitFlags flags,
CORBA_Environment *ev); |
Sets up the ORBit connection add/remove function pointers
to our routines, which inform the gtk main loop about
the CORBA connection fd's.
Calls gnome_init and CORBA_ORB_init with the specified params.
Sets up a cookie for requests.
gnome_name_service_get ()
CORBA_Object gnome_name_service_get (void); |
This routine returns an object reference to the name server
for this user/session pair. This launches the name server if
it is the first application running it.