KWEBAPP-C-SOURCE(1)

NAME
kwebapp-c-source - implement web application C API

SYNOPSIS
kwebapp-c-source [-jsv] [-h header[,header...]] [-I bjv] [-N b] [config]

DESCRIPTION
The kwebapp-c-source utility accepts config (defaulting to standard input) and produces an implementation of the C API generated by kwebapp-c-header(1). Its arguments are as follows:

-h header[,header...]
    Include the set of comma-separated header files header.

-I bjv
    Indicate that the generated source must include headers for the Database input declarations (b), the JSON export declarations (j), and/or Data validation (v). This allows multiple source files and a single header file. It's safe to duplicate, such as specifying -Ij and -j.

-j  Output JSON output definitions as documented in JSON export.

-v  Output data validator definitions as documented in Data validation.

-N b
    Disable production of output, which may currently only be b to suppresses the Database input definitions.

-s  Use split-process mode for the database.

By default, the Database input and Data structures definitions are output with a header file of db.h.

All C code produced by kwebapp-c-source conforms with the style(9) manual of OpenBSD.

EXIT STATUS

SEE ALSO
kwebapp-c-header(1)