Microchip® Advanced Software Framework

cgi.h File Reference

CGI request function handlers.

Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.

Data Structures

struct  HttpCGI
 

Typedefs

typedef struct HttpCGI HttpCGI
 

Functions

http_handler_t cgi_search (const char *name, HttpCGI *table)
 CGI request search engine. More...
 

Variables

HttpCGI cgi_table []
 CGI table where we associate one callback to one page. More...
 

typedef struct HttpCGI HttpCGI

http_handler_t cgi_search ( const char *  name,
HttpCGI table 
)

CGI request search engine.

Parameters
nameCGI request name.
tableCGI handler table.
Returns
A valid function handler for the specified CGI request, NULL otherwise.

References CGI_MATCH_EXT, CGI_MATCH_NAME, get_ext(), HttpCGI::handler, and NULL.

Referenced by http_recv().

HttpCGI cgi_table[]

CGI table where we associate one callback to one page.

Referenced by http_recv().