WebKit provides the main shell of your CGI application.
You don't call WebKit; it calls you.
WebKit hands CGI input to your program in an array and
receives CGI output on standard output (stdout).
You need to create a function called webkitmain (aEnv, aForm)
,
which is executed each time a user selects the link to your WebKit
program.
This function must have the following characteristics:
?
and ??
or by using the Auxiliary HTML
Functions described later in this document.aEnv
array to recover
CGI environment variables it needs.aForm
array to recover
form variables.aEnv
and aData
arrays.Next Chapter, Previous Chapter
Table of contents of this chapter, General table of contents
Top of the document, Beginning of this Chapter