Glenn Fowler <gsf at research.att.com> wrote:

>
> On Thu, 22 Feb 2007 11:31:31 +0100 Joerg.Schilling at fokus.fraunhofer.de 
> (Joerg Schilling) wrote:
> > If the first test works, I would like to create a callback interface
> > (e.g. "find . -call test <test-expression> {} \;") that allows
> > libfind to efficiently call builtins from the shell.
>
>       int b_test(int argc, char *argv[],void *extra)

Well, I did plan to do something like:

if ((fp = dlsym(RTLD_DEFAULT, "b_test")) != NULL)
        we have b_test() available.

The problem is that not all platforms might support RTLD_DEFAULT.

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       schilling at fokus.fraunhofer.de     (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to