#include <cfg/http.h>
#include <sys/heap.h>
#include <stdlib.h>
#include <string.h>
#include <memdebug.h>
#include "httpd_p.h"
Go to the source code of this file.
Defines | |
#define | HTTP_DEFAULT_ROOT "UROM:" |
Default index files. | |
Functions | |
char * | CreateFilePath (CONST char *url, CONST char *addon) |
Create a file path from an URL. | |
void | DestroyRequestInfo (REQUEST *req) |
Release request info structure. | |
Variables | |
char * | http_root |
char * | default_files [] |
#define HTTP_DEFAULT_ROOT "UROM:" |
Default index files.
The first entry must contain an empty string.
Default file system.
Definition at line 30 of file httpd_p.c.
Referenced by CreateFilePath().
char* CreateFilePath | ( | CONST char * | url, |
CONST char * | addon | ||
) |
void DestroyRequestInfo | ( | REQUEST * | req | ) |
Release request info structure.
Definition at line 77 of file httpd_p.c.
References free(), _REQUEST::req_agent, _REQUEST::req_auth, _REQUEST::req_cookie, _REQUEST::req_encoding, _REQUEST::req_host, _REQUEST::req_qptrs, _REQUEST::req_query, _REQUEST::req_referer, _REQUEST::req_type, and _REQUEST::req_url.
Referenced by NutHttpProcessRequest().
char* default_files[] |