Doug MacEachern wrote: > you could have APR::SubProcess take the same args as the apr C > functions. and have an Apache::SubProcess wrapper that takes $r and > passes the required values to the APR::SubProcess function(s). > > i have no idea if APR::SubProcess would ever be useful outside of > httpd. but its better to expect the unexpected. > > to answer the question at hand, if your functions take a request_rec, > server_rec, or anything listed in apache_structures.map, then no, it > cannot be used outside of httpd.
In fact it uses a bunch of ap_ functions, so it's no go. Going back to Apache::SubProcess. I've no idea why the proc functions are not in apr :( They are written to be portable, but won't work without httpd. Oh well, _____________________________________________________________________ Stas Bekman JAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide http://perl.apache.org/guide mailto:[EMAIL PROTECTED] http://ticketmaster.com http://apacheweek.com http://singlesheaven.com http://perl.apache.org http://perlmonth.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
