Skip to content
Snippets Groups Projects
Commit 710aa3cb authored by edgrif's avatar edgrif
Browse files

Improve docs for stanzas.

parent a5ab9a56
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,9 @@
* Description:
* Exported functions: See zmapConfig.h
* HISTORY:
* Last edited: May 7 10:42 2004 (edgrif)
* Last edited: Jun 23 09:40 2004 (edgrif)
* Created: Thu Jul 24 16:06:44 2003 (edgrif)
* CVS info: $Id: zmapConfig.c,v 1.7 2004-05-07 09:43:55 edgrif Exp $
* CVS info: $Id: zmapConfig.c,v 1.8 2004-06-23 08:42:36 edgrif Exp $
*-------------------------------------------------------------------
*/
......@@ -48,6 +48,23 @@ static void destroyConfig(ZMapConfig config) ;
*
* zMapConfig routines read and write data from configuration files for ZMap.
*
* The configuration file(s) for ZMap are a series of stanzas of the form:
*
* <PRE>
* stanza_name e.g. server
* { {
* resource = value host = "griffin"
* resource = value port = 18100
* } protocol = "acedb"
* }
* </PRE>
*
* Resources may take boolean, integer, float or string values.
*
* String values must be enclosed in double quotes, e.g. host = "griffin"
*
* Boolean values must be specified as either true or false, e.g. logging = false
*
* zMapConfigCreate() reads all the configuration files and merges them
* into a unified array of resources. Specific stanzas can then be found
* and returned using zMapConfigFindStanzas(). When the configuration is
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment