40 typedef PT_THREAD((* httpd_cgifunction)(
struct httpd_state *,
char *));
42 httpd_cgifunction httpd_cgi(
char *name);
44 struct httpd_cgi_call {
45 struct httpd_cgi_call *next;
47 httpd_cgifunction
function;
50 void httpd_cgi_add(
struct httpd_cgi_call *c);
52 #define HTTPD_CGI_CALL(name, str, function) \
53 static struct httpd_cgi_call name = {NULL, str, function}
55 void httpd_cgi_init(
void);
56 void web_set_temp(
char *s);
57 void web_set_voltage(
char *s);
58 uint8_t httpd_cgi_sprint_ip6(uip_ip6addr_t addr,
char * result);
#define PT_THREAD(name_args)
Declaration of a protothread.