[svn:mod_parrot] r271 - mod_parrot/trunk/docs

[email protected]
Newsgroups perl.cvs.mod_parrot
Message-ID <[email protected]>
Author: jhorwitz
Date: Fri Dec 14 08:25:04 2007
New Revision: 271

Modified:
   mod_parrot/trunk/docs/apache-conf.txt
   mod_parrot/trunk/docs/nci.txt

Log:
update documentation


Modified: mod_parrot/trunk/docs/apache-conf.txt
==============================================================================
--- mod_parrot/trunk/docs/apache-conf.txt	(original)
+++ mod_parrot/trunk/docs/apache-conf.txt	Fri Dec 14 08:25:04 2007
@@ -4,9 +4,9 @@
 ParrotInit
 ----------
 Syntax:      ParrotInit path
-Default:     none
+Default:     parrot's runtime path
 Context:     server config
-Description: Specify path to init.pbc
+Description: Specify path to mod_parrot.pbc
 
 ParrotIncludePath
 ----------
@@ -39,12 +39,26 @@
              languages may be used in a single block, this syntax is subject
              to change.
 
+ParrotAddType
+-------------
+Syntax:      ParrotAddType hll mime-type [mime-type ...]
+Default:     none
+Context:     server config
+Description: associate a MIME type with a Parrot HLL
+
+ParrotAddHandler
+----------------
+Syntax:      ParrotAddHandler hll handler [handler ...]
+Default:     parrot-code
+Context:     server config
+Description: associate an Apache handler string with a Parrot HLL
+
 ParrotHandler
 -------------
 Syntax:      ParrotHandler [hll,]handler
 Default:     none
 Context:     directory config
-Description: Sets the Parrot content handler (hll overrides directory config)
+Description: Sets the Parrot response handler (hll overrides directory config)
 
 ParrotAuthenHandler
 -------------------

Modified: mod_parrot/trunk/docs/nci.txt
==============================================================================
--- mod_parrot/trunk/docs/nci.txt	(original)
+++ mod_parrot/trunk/docs/nci.txt	Fri Dec 14 08:25:04 2007
@@ -19,14 +19,14 @@
    be placed in nci.c and its NCI object should be defined in the Parrot
    namespace ['_modparrot';'NCI'].  The function should be prefixed with
    mpnci_.  The PIR code to load the object should be placed in
-   lib/ModParrot/init.pir.
+   lib/mod_parrot.pir.
 
 3) mod_parrot functions that should be callable via NCI should be placed in
    nci.c and defined in the Parrot namespace ['_modparrot';'NCI'].  The first
    argument passed to the function should be the Parrot interpreter, which
    Parrot will handle for you if you use the 'J' signature.  Each function
    should be prefixed with mpnci_.  The PIR code to load these objects should
-   be placed in lib/ModParrot/init.pir.
+   be placed in lib/mod_parrot.pir.
 
 4) Wrapper functions MUST maintain the same parameter order as the
    corresponding Apache API function.  This is to ensure future compatibility
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.