[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-dbus
Subject:    Re: DBUS protocol on unix pipes?
From:       "Daniel P. Berrange" <dan () berrange ! com>
Date:       2006-06-10 19:51:22
Message-ID: 20060610195122.GA23172 () berrange ! com
[Download RAW message or body]


On Sat, Jun 10, 2006 at 09:08:15PM +0200, Thiago Macieira wrote:
> nf2 wrote:
> >>> And then i have to use the following internal functions on both
> >>> sides?
> >>
> >> You're not supposed to use internal functions.
> >
> >I know. But how to create the DBusConnection on top of an open
> >filedescriptor without using those internal functions?
> 
> You're not.
> 
> There's no guarantee that the underlying transport system uses file 
> descriptors at all. So those functions are internal.
> 
> If/when libdbus hides its symbols (think ELF visibility or Win32 DLLs), 
> you will not be able to call those functions.

It already does hide all internal symbols - they're only visible if you
supply the "--enable-tests" flag to "configure", which is not typically
done on production builds. So, not only are they not recommended for
use, its *impossible* to link against any internal symbols in the library
in non-developer builds.

Regards,
Dan.
-- 
|=-            GPG key: http://www.berrange.com/~dan/gpgkey.txt       -=|
|=-       Perl modules: http://search.cpan.org/~danberr/              -=|
|=-           Projects: http://freshmeat.net/~danielpb/               -=|
|=-   berrange@redhat.com  -  Daniel Berrange  -  dan@berrange.com    -=|

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic