#include <pro/rfctime.h>#include <pro/uhttp/uhttpd.h>#include <stdlib.h>#include <stdarg.h>#include <string.h>Data Structures | |
| struct | _HTTP_RESPONSE_STATUS |
Defines | |
| #define | HTTP_NUM_RESPONSES (sizeof(response_list) / sizeof(HTTP_RESPONSE_STATUS)) |
Typedefs | |
| typedef struct _HTTP_RESPONSE_STATUS | HTTP_RESPONSE_STATUS |
Functions | |
| const char * | HttpResponseText (int code) |
| void | HttpSendHeaderTop (HTTPD_SESSION *hs, int status) |
| Send initial HTTP response header. | |
| void | HttpSendHeaderDate (HTTPD_SESSION *hs, time_t mtime) |
| Send HTTP date response header. | |
| void | HttpSendHeaderBottom (HTTPD_SESSION *hs, char *type, char *subtype, long bytes) |
| Send final HTTP response header. | |
| void | HttpSendError (HTTPD_SESSION *hs, int status) |
| Send HTTP error response. | |
| int | HttpSendRedirection (HTTPD_SESSION *hs, int code,...) |
| Transmit a redirection page. | |
| #define HTTP_NUM_RESPONSES (sizeof(response_list) / sizeof(HTTP_RESPONSE_STATUS)) |
Referenced by HttpResponseText().
| typedef struct _HTTP_RESPONSE_STATUS HTTP_RESPONSE_STATUS |
$Id$
| const char* HttpResponseText | ( | int | code | ) |
References HTTP_NUM_RESPONSES, NULL, and _HTTP_RESPONSE_STATUS::rs_text.
Referenced by HttpSendError(), and HttpSendHeaderTop().