![]() | ![]() | ![]() | GNOME CORBA Framework |
---|
enumGnorbaInitFlags ;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 structpoptOption *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);
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.
typedef enum { GNORBA_INIT_SERVER_FUNC = 1 0, GNORBA_INIT_DISABLE_COOKIES = 1 1 } GnorbaInitFlags;
GNORBA_INIT_SERVER_FUNC specifies that this program intends to export implementations of CORBA objects to other programs
GNORBA_INIT_DISABLE_COOKIES turns off the GNOME CORBA security mechanism
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.
CORBA_ORB gnome_CORBA_init_with_popt_table (const char *app_id, const char *app_version, int *argc, char **argv, const structpoptOption *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.
<<< libgnorba |