calling C extensions to Apache through mod_perl

2000-09-06 Thread Dave DeMaagd

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.  

Thanks!

-- 
Dave DeMaagd - [EMAIL PROTECTED]  - http://www.spinynorm.net
Beware THE MERCILESS PEPPERS OF QUETZLZACATENANGO!



Re: calling C extensions to Apache through mod_perl

2000-09-06 Thread Matt Sergeant

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