File nut/pro/uhttp/responses.c


Included Files


Preprocessor definitions

#define HTTP_NUM_RESPONSES

Typedef HTTP_RESPONSE_STATUS

typedef struct _HTTP_RESPONSE_STATUS HTTP_RESPONSE_STATUS
See: Type struct _HTTP_RESPONSE_STATUS

Type struct _HTTP_RESPONSE_STATUS

struct _HTTP_RESPONSE_STATUS
struct _HTTP_RESPONSE_STATUS  
   {  
      int rs_code;  
      const char* rs_text;  
   }  

Local Variables

response_list
static const HTTP_RESPONSE_STATUS response_list[]
Used in: HttpResponseText()  

Global Function HttpResponseText()

const char* HttpResponseText ( int code )
Called by: HttpSendStreamError() nut/pro/uhttp/responses.c
  HttpSendStreamHeaderTop() nut/pro/uhttp/responses.c
References Variables: response_list nut/pro/uhttp/responses.c

Global Function HttpSendError()

void HttpSendError ( HTTPD_SESSION* hs, int status )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpSendStreamError() nut/pro/uhttp/responses.c
Called by: MediaTypeHandlerBinary() nut/pro/uhttp/mediatypes.c

Global Function HttpSendHeaderBottom()

void HttpSendHeaderBottom ( HTTPD_SESSION* hs, const char* type, const char* subtype, long bytes )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpSendStreamHeaderBottom() nut/pro/uhttp/responses.c
Called by: CgiClock() nut/app/uhttpd_ajax/httpd_ajax.c
  HttpSendRedirection() nut/pro/uhttp/responses.c
  MediaTypeHandlerBinary() nut/pro/uhttp/mediatypes.c
  SendResult() nut/app/uhttpd_form/httpd_form.c

Global Function HttpSendHeaderDate()

void HttpSendHeaderDate ( HTTPD_SESSION* hs, time_t mtime )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpSendStreamHeaderDate() nut/pro/uhttp/responses.c
Called by: MediaTypeHandlerBinary() nut/pro/uhttp/mediatypes.c

Global Function HttpSendHeaderTop()

void HttpSendHeaderTop ( HTTPD_SESSION* hs, int status )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpSendStreamHeaderTop() nut/pro/uhttp/responses.c
Called by: CgiClock() nut/app/uhttpd_ajax/httpd_ajax.c
  HttpSendRedirection() nut/pro/uhttp/responses.c
  MediaTypeHandlerBinary() nut/pro/uhttp/mediatypes.c
  SendResult() nut/app/uhttpd_form/httpd_form.c

Global Function HttpSendRedirection()

int HttpSendRedirection ( HTTPD_SESSION* hs, int code, ... )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpSendHeaderBottom() nut/pro/uhttp/responses.c
  HttpSendHeaderTop() nut/pro/uhttp/responses.c
  fflush() nut/crt/fflush.c
  fprintf() nut/crt/fprintf.c
  free() nut/crt/malloc.c
  malloc() nut/crt/malloc.c
  strcat() nut/c/string/strcat.c
  strlen() nut/c/string/strlen.c
  __builtin_va_arg(), __builtin_va_end(), __builtin_va_start(), s_vputs()
Called by: CgiUpload() nut/app/uhttpd_upload/httpd_upload.c

Global Function HttpSendStreamError()

void HttpSendStreamError ( HTTP_STREAM* stream, int status, const char* realm )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpResponseText() nut/pro/uhttp/responses.c
  HttpSendStreamHeaderBottom() nut/pro/uhttp/responses.c
  HttpSendStreamHeaderTop() nut/pro/uhttp/responses.c
  fflush() nut/crt/fflush.c
  fprintf() nut/crt/fprintf.c
  strlen() nut/c/string/strlen.c
Called by: HttpSendError() nut/pro/uhttp/responses.c

Global Function HttpSendStreamHeaderBottom()

void HttpSendStreamHeaderBottom ( HTTP_STREAM* stream, const char* type, const char* subtype, int conn, long bytes )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: fprintf() nut/crt/fprintf.c
  fputs() nut/crt/fputs.c
  s_vputs()
Called by: HttpSendHeaderBottom() nut/pro/uhttp/responses.c
  HttpSendStreamError() nut/pro/uhttp/responses.c
  SoapSendCallResponse() nut/pro/soapd.c
  XmlHead() nut/pro/upnp_dev.c

Global Function HttpSendStreamHeaderDate()

void HttpSendStreamHeaderDate ( HTTP_STREAM* stream, time_t mtime )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: Rfc1123TimeString() nut/pro/rfctime.c
  gmtime() nut/crt/gmtime.c
  s_vputs()
Called by: HttpSendHeaderDate() nut/pro/uhttp/responses.c

Global Function HttpSendStreamHeaderTop()

void HttpSendStreamHeaderTop ( HTTP_STREAM* stream, int status )
Prototyped in: nut/include/pro/uhttp/uhttpd.h
Calls: HttpResponseText() nut/pro/uhttp/responses.c
  Rfc1123TimeString() nut/pro/rfctime.c
  fprintf() nut/crt/fprintf.c
  gmtime() nut/crt/gmtime.c
  time() nut/crt/time.c
  s_vputs()
Called by: HttpSendHeaderTop() nut/pro/uhttp/responses.c
  HttpSendStreamError() nut/pro/uhttp/responses.c
  SoapSendCallResponse() nut/pro/soapd.c
  XmlHead() nut/pro/upnp_dev.c