**
** Author contact information:
** drh@hwaci.com
** http://www.hwaci.com/drh/
**
*******************************************************************************
**
** This program scans Fossil source code files looking for special
** comments that indicate a command-line command or a webpage. This** routine collects information about these entry points and then** generates (on standard output) C code used by Fossil to dispatch** to those entry points.
**
** The source code is scanned for comment lines of the form:
**
** WEBPAGE: /abc/xyz
**
** This comment should be followed by a function definition of the
** form:
................................................................................
**
** We also scan for comments lines of this form:
**
** COMMAND: cmdname
**
** These entries build a constant table used to map command names into
** functions.
**** Comment text following COMMAND: through the end of the comment is** understood to be help text for the command specified. This help** text is accumulated and a table containing the text for each command** is generated. That table is used implement the "fossil help" command** and the "/help" HTTP method.**** Multiple occurrances of WEBPAGE: or COMMAND: (but not both) can appear** before each function name. In this way, webpages and commands can** have aliases.
*/
#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include <assert.h>
#include <string.h>

This page was generated in about
0.01s by
Fossil 2.9 [356c0d017e] 2019-05-23 17:18:56