You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Matt Sergeant <ma...@sergeant.org> on 2000/09/06 10:50:08 UTC

Re: calling C extensions to Apache through mod_perl

On Wed, 6 Sep 2000, Dave DeMaagd wrote:

> Here's what I'm looking at: 
> 
> - Writing mod_foo as a dso for apache
> - Have perl running under mod_perl
> - Want to make calls to to functions in mod_foo from the perl scripts
> 
> I know how to do the first two, but I'm not getting anywhere on where
> to get the third.  Am I just missing something really obvious.  

You could either use notes as a message passing mechanism, or write some
XS code and call the functions directly.

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org