Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2004 19:05:08 -0800
From:      Chris Pressey <cpressey@catseye.mine.nu>
To:        "Joe Lewis" <joe@joe-lewis.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dlopen() and parent symbols
Message-ID:  <20040204190508.0db9e9d0.cpressey@catseye.mine.nu>
In-Reply-To: <52640.207.173.181.72.1075949311.squirrel@email.relia.net>
References:  <52640.207.173.181.72.1075949311.squirrel@email.relia.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 4 Feb 2004 19:48:31 -0700 (MST)
"Joe Lewis" <joe@joe-lewis.com> wrote:

> I've read that I can't export symbols from the parent executable to
> modules opened with dlopen().  So, I have a (hopefully) quick
> question. How can I export function(s) to those modules?

Can you pass them a function pointer (callback)?  Don't know, never
tried it with a dlopen()'ed object, but I can't immediately see why it
wouldn't work...

-Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040204190508.0db9e9d0.cpressey>