43 #include "dev/watchdog.h"
51 PROCESS(shell_httpd_process,
"httpd");
54 "httpd: serve files with HTTP",
55 &shell_httpd_process);
72 shell_httpd_init(
void)
78 webserver_log_file(uip_ipaddr_t *requester,
char *file)
83 sprintf(buf,
"%d.%d.%d.%d: ", requester->u8[0], requester->u8[1],
84 requester->u8[2], requester->u8[3]);
89 webserver_log(
char *msg)
void shell_output_str(struct shell_command *c, char *text1, const char *text2)
Output strings from a shell command.
#define PROCESS_BEGIN()
Define the beginning of a process.
Main header file for the Contiki shell
#define PROCESS_THREAD(name, ev, data)
Define the body of a process.
#define PROCESS_END()
Define the end of a process.
void shell_register_command(struct shell_command *c)
Register a command with the shell.
#define PROCESS_WAIT_EVENT_UNTIL(c)
Wait for an event to be posted to the process, with an extra condition.
#define PROCESS(name, strname)
Declare a process.
process_event_t tcpip_event
The uIP event.
#define SHELL_COMMAND(name, command, description, process)
Define a shell command.