File nut/app/uhttpd_form/httpd_form.c


Included Files


Global Function NutAppMain()

int NutAppMain ( void )
Calls: HttpRegisterCgiFunction(), HttpRegisterMediaType(), HttpRegisterRedir(), MediaTypeInitDefaults(), StreamClientAccept(), StreamInit(), puts()
References Functions: CgiGetForm() nut/app/uhttpd_form/httpd_form.c
  CgiPostForm() nut/app/uhttpd_form/httpd_form.c
  HttpCgiFunctionHandler(), HttpdClientHandler()

Local Function CgiGetForm()

static int CgiGetForm ( HTTPD_SESSION* hs )
Calls: SendResult() nut/app/uhttpd_form/httpd_form.c
  HttpArgParseFirst(), HttpArgParseNext(), HttpArgValue(), free(), strcmp(), strdup()
Used in: NutAppMain() nut/app/uhttpd_form/httpd_form.c

Local Function CgiPostForm()

static int CgiPostForm ( HTTPD_SESSION* hs )
Calls: SendResult() nut/app/uhttpd_form/httpd_form.c
  HttpArgReadNext(), HttpArgValue(), free(), strcmp(), strdup()
Used in: NutAppMain() nut/app/uhttpd_form/httpd_form.c

Local Function SendResult()

static int SendResult ( HTTPD_SESSION* hs, char* first, char* last )
Calls: HttpSendHeaderBottom(), HttpSendHeaderTop(), fflush(), fprintf(), fputs()
Called by: CgiGetForm() nut/app/uhttpd_form/httpd_form.c
  CgiPostForm() nut/app/uhttpd_form/httpd_form.c