You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@perl.apache.org by Geoffrey Young <ge...@modperlcookbook.org> on 2003/09/02 14:49:29 UTC

Re: cvs commit: modperl-2.0/t/htdocs/api slurp.pl


Stas Bekman wrote:
> 
>>   Index: modperl_util.h
>>   ===================================================================
>>   RCS file: /home/cvs/modperl-2.0/src/modules/perl/modperl_util.h,v
>>   retrieving revision 1.45
>>   retrieving revision 1.46
>>   diff -u -u -r1.45 -r1.46
>>   --- modperl_util.h    20 Aug 2003 23:11:23 -0000    1.45
>>   +++ modperl_util.h    30 Aug 2003 02:33:26 -0000    1.46
>>   @@ -141,6 +141,14 @@
>>       MP_INLINE int modperl_perl_module_loaded(pTHX_ const char *name);
>>      +/**
>>   + * slurp the contents of r->filename and return them as a scalar
>>   + * @param r       request record
>>   + * @param tainted whether the SV should be marked tainted or not
>>   + * @return a PV scalar with the contents of the file
>>   + */
>>   +SV *modperl_slurp_filename(pTHX_ request_rec *r, int tainted);
>>   +
> 
> 
> How about we slowly start documenting mod_perl C API? At least the 
> public functions? Here is the first one to start with, I guess we can 
> just follow the docxygen API as in Apache/APR header files.

sure.  we can start with the new additions, then as we find time (heh) go back.

--Geoff


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org