HTTPsimple.c example details
HTTP Server description
#include <stdlib.h>
#include <stdio.h>
#include <stddef.h>
#include <inttypes.h>
#include <time.h>
#include <string.h>
#ifdef __cplusplus
extern "C" {
#endif
#pragma CODE_SECTION(http_interpreter , ".commontext");
#ifdef __cplusplus
}
#endif
{
switch (http_server-> method)
{
if ( http_server-> uri ==
INT32_C(-1) )
{
}
else
{
{
}
}
break;
break;
}
return (ret);
}
#pragma CODE_SECTION(main , ".commontext");
{
int main_loop = 1;
CPrintf (
" *** timer %d mapped to CPU int %d ***\r\n",
if ( http_serv == FALSE )
{
}
CPuts (
" network startup time [sec]: ");
"%"PRId32".%03"PRId32"\r\n"
CPuts (
"\r\n Entering main loop ...");
while ( main_loop )
{
}
return (0);
}