httpd_p.c File Reference

Go to the source code of this file.

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

UROM __pad1__
 Default index files.
char * default_files []

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.

References http_root, malloc, strcat(), strcpy(), and strlen().

void DestroyRequestInfo ( REQUEST *  req  ) 

Release request info structure.

Definition at line 77 of file httpd_p.c.

References free.

Referenced by NutHttpProcessRequest().


Variable Documentation

UROM __pad1__

Default index files.

The first entry must contain an empty string.

Default file system.

Definition at line 33 of file httpd_p.c.

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/