statcodes.h File Reference

Go to the source code of this file.

Defines

#define HTTP_CONTINUE   100
#define HTTP_SWITCHING_PROCOTOLS   101
#define HTTP_OK   200
#define HTTP_CREATED   201
#define HTTP_ACCEPTED   202
#define HTTP_NON_AUTHORATATIVE   203
#define HTTP_NO_CONTENT   204
#define HTTP_RESET_CONTENT   205
#define HTTP_PARTIAL_CONTENT   206
#define HTTP_MULTIPLE_CHOICES   300
#define HTTP_MOVED_PERMANENTLY   301
#define HTTP_FOUND   302
#define HTTP_SEE_OTHER   303
#define HTTP_NOT_MODIFIED   304
#define HTTP_USE_PROXY   305
#define HTTP_UNUSED_3XX   306
#define HTTP_TEMPORARY_REDIRECT   307
#define HTTP_BAD_REQUEST   400
#define HTTP_UNAUTHORIZED   401
#define HTTP_PAYMENT_REQD   402
#define HTTP_FORBIDDEN   403
#define HTTP_NOT_FOUND   404
#define HTTP_METHOD_NOT_ALLOWED   405
#define HTTP_NOT_ACCEPTABLE   406
#define HTTP_PROXY_AUTH_REQD   407
#define HTTP_REQUEST_TIMEOUT   408
#define HTTP_CONFLICT   409
#define HTTP_GONE   410
#define HTTP_LENGTH_REQUIRED   411
#define HTTP_PRECONDITION_FAILED   412
#define HTTP_REQ_ENTITY_TOO_LARGE   413
#define HTTP_REQ_URI_TOO_LONG   414
#define HTTP_UNSUPPORTED_MEDIA_TYPE   415
#define HTTP_REQUEST_RANGE_NOT_SATISFIABLE   416
#define HTTP_EXPECTATION_FAILED   417
#define HTTP_INTERNAL_SERVER_ERROR   500
#define HTTP_NOT_IMPLEMENTED   501
#define HTTP_BAD_GATEWAY   502
#define HTTP_SERVICE_UNAVAILABLE   503
#define HTTP_GATEWAY_TIMEOUT   504
#define HTTP_HTTP_VERSION_NOT_SUPPORTED   505
#define HTTP_E_OUT_OF_MEMORY   -2
#define HTTP_E_BAD_MSG_FORMAT   -3
#define HTTP_E_TIMEDOUT   -4
#define HTTP_E_FILE_READ   -5

Functions

const char * http_get_code_text (int statusCode)

Define Documentation

#define HTTP_ACCEPTED   202

Definition at line 42 of file statcodes.h.

#define HTTP_BAD_GATEWAY   502

Definition at line 78 of file statcodes.h.

#define HTTP_BAD_REQUEST   400

Definition at line 57 of file statcodes.h.

#define HTTP_CONFLICT   409

Definition at line 66 of file statcodes.h.

#define HTTP_CONTINUE   100

Definition at line 37 of file statcodes.h.

#define HTTP_CREATED   201

Definition at line 41 of file statcodes.h.

#define HTTP_E_BAD_MSG_FORMAT   -3

Definition at line 86 of file statcodes.h.

#define HTTP_E_FILE_READ   -5

Definition at line 88 of file statcodes.h.

#define HTTP_E_OUT_OF_MEMORY   -2

Definition at line 85 of file statcodes.h.

#define HTTP_E_TIMEDOUT   -4

Definition at line 87 of file statcodes.h.

#define HTTP_EXPECTATION_FAILED   417

Definition at line 74 of file statcodes.h.

#define HTTP_FORBIDDEN   403

Definition at line 60 of file statcodes.h.

#define HTTP_FOUND   302

Definition at line 50 of file statcodes.h.

#define HTTP_GATEWAY_TIMEOUT   504

Definition at line 80 of file statcodes.h.

#define HTTP_GONE   410

Definition at line 67 of file statcodes.h.

#define HTTP_HTTP_VERSION_NOT_SUPPORTED   505

Definition at line 81 of file statcodes.h.

#define HTTP_INTERNAL_SERVER_ERROR   500

Definition at line 76 of file statcodes.h.

#define HTTP_LENGTH_REQUIRED   411

Definition at line 68 of file statcodes.h.

#define HTTP_METHOD_NOT_ALLOWED   405

Definition at line 62 of file statcodes.h.

#define HTTP_MOVED_PERMANENTLY   301

Definition at line 49 of file statcodes.h.

#define HTTP_MULTIPLE_CHOICES   300

Definition at line 48 of file statcodes.h.

#define HTTP_NO_CONTENT   204

Definition at line 44 of file statcodes.h.

#define HTTP_NON_AUTHORATATIVE   203

Definition at line 43 of file statcodes.h.

#define HTTP_NOT_ACCEPTABLE   406

Definition at line 63 of file statcodes.h.

#define HTTP_NOT_FOUND   404

Definition at line 61 of file statcodes.h.

#define HTTP_NOT_IMPLEMENTED   501

Definition at line 77 of file statcodes.h.

#define HTTP_NOT_MODIFIED   304

Definition at line 52 of file statcodes.h.

#define HTTP_OK   200

Definition at line 40 of file statcodes.h.

#define HTTP_PARTIAL_CONTENT   206

Definition at line 46 of file statcodes.h.

#define HTTP_PAYMENT_REQD   402

Definition at line 59 of file statcodes.h.

#define HTTP_PRECONDITION_FAILED   412

Definition at line 69 of file statcodes.h.

#define HTTP_PROXY_AUTH_REQD   407

Definition at line 64 of file statcodes.h.

#define HTTP_REQ_ENTITY_TOO_LARGE   413

Definition at line 70 of file statcodes.h.

#define HTTP_REQ_URI_TOO_LONG   414

Definition at line 71 of file statcodes.h.

#define HTTP_REQUEST_RANGE_NOT_SATISFIABLE   416

Definition at line 73 of file statcodes.h.

#define HTTP_REQUEST_TIMEOUT   408

Definition at line 65 of file statcodes.h.

#define HTTP_RESET_CONTENT   205

Definition at line 45 of file statcodes.h.

#define HTTP_SEE_OTHER   303

Definition at line 51 of file statcodes.h.

#define HTTP_SERVICE_UNAVAILABLE   503

Definition at line 79 of file statcodes.h.

#define HTTP_SWITCHING_PROCOTOLS   101

Definition at line 38 of file statcodes.h.

#define HTTP_TEMPORARY_REDIRECT   307

Definition at line 55 of file statcodes.h.

#define HTTP_UNAUTHORIZED   401

Definition at line 58 of file statcodes.h.

#define HTTP_UNSUPPORTED_MEDIA_TYPE   415

Definition at line 72 of file statcodes.h.

#define HTTP_UNUSED_3XX   306

Definition at line 54 of file statcodes.h.

#define HTTP_USE_PROXY   305

Definition at line 53 of file statcodes.h.


Function Documentation

const char* http_get_code_text ( int  statusCode  ) 

Generated on Fri Mar 26 20:16:55 2010 for MediaTomb by  doxygen 1.6.1