you won't be able to call it directly without some work.  see the manpage 
on dlopen and see how XSLoader/DynaLoader opens the file.  you could
change dl_load_flags to be 0x01 and bing it'll work.  but that's on your  
linux box, problems will happen on other platforms such as win32, hpux,   
aix.

you could try using apr optional functions.  or have APR::PerlIO store a   
pointer to the function you need somewhere in the perl symbol table, which
would work the same way, different api.  apr's would be cleaner.

could also build a libaprperlio.so and link the extension .so's
against it, but that would end up being painful.

there are a some other tricks, but not all are portable.

as for the header file, you could just move that to the xs/ directory.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to