Nut/OS  4.10.3
API Reference
httpd_p.h File Reference
#include <sys/types.h>
#include <pro/httpd.h>
Include dependency graph for httpd_p.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


char * CreateFilePath (CONST char *url, CONST char *addon)
 Create a file path from an URL.
void DestroyRequestInfo (REQUEST *req)
 Release request info structure.


char * http_root
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_DEFAULT_ROOT, http_root, malloc(), strcat(), strcpy(), and strlen().

Here is the call graph for this function:

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

Here is the call graph for this function:

Variable Documentation

char* http_root

Definition at line 33 of file httpd_p.c.

char* default_files[]

Definition at line 35 of file httpd_p.c.