App control of linc/link part of ORBit2



Hi,

>From ORBit2-2.7.x+ there was a transition to no longer use the separate 'linc'
package but to use its integrated 'linc2' successor instead.

I was successfuly using ORBit2 up to 2.6.0 to provide safe and clear RPC/API
communication with part of code running in chroot(2)ed environment. Proper
linc_set_tmpdir() and hardlinking of the UNIX domain sockets between the public
and chroot(2)ed software part.

Also public linc_main_get_loop() allowed safe CORBA_ORB_run() break-out by
asynchronous non-CORBA events occuring during CORBA_ORB_run() events handling.


Both these features are IMO currently denied by declaring linc2 as private.

 * Handling of chroot(2)ed environment:
   Should I therefore start using IPv4 instead of UNIX domain sockets?

 * Handling of GLib events:
   Making public header file declaration?
   	extern GMainLoop *link_loop;
   Although probably as:
   	GMainLoop *link_main_get_loop(void);'
   Needed even just for its context as it is not g_main_context_default().



Thanks for info,
Jan Kratochvil

-- 
Jan Kratochvil; Captive: free R/W NTFS Filesystem; http://www.jankratochvil.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]