httpd_p.c File Reference

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 Documentation

#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().


Function Documentation

char* CreateFilePath ( CONST char *  url,
CONST char *  addon 
)

Create a file path from an URL.

Definition at line 55 of file httpd_p.c.

void DestroyRequestInfo ( REQUEST req  ) 

Release request info structure.

Definition at line 77 of file httpd_p.c.

Referenced by NutHttpProcessRequest().


Variable Documentation

char* default_files[]

Initial value:

 {
    "",
    "/index.html",
    "/index.htm",
    "/default.html",
    "/default.htm",
    "/index.shtml",
    "/index.xhtml",
    "/index.asp",
    "/default.asp",
    NULL
}

Definition at line 35 of file httpd_p.c.


© 2000-2007 by egnite Software GmbH - visit http://www.ethernut.de/