http.h revision 214734
169408Sache/*
269408Sache * HTTP for WPS
369408Sache * Copyright (c) 2000-2003 Intel Corporation
469408Sache * Copyright (c) 2006-2007 Sony Corporation
569408Sache * Copyright (c) 2008-2009 Atheros Communications
669408Sache * Copyright (c) 2009, Jouni Malinen <j@w1.fi>
769408Sache *
869408Sache * See wps_upnp.c for more details on licensing and code history.
969408Sache */
1069408Sache
1169408Sache#ifndef HTTP_H
1269408Sache#define HTTP_H
1369408Sache
1469408Sacheenum http_reply_code {
1569408Sache	HTTP_OK = 200,
16	HTTP_BAD_REQUEST = 400,
17	UPNP_INVALID_ACTION = 401,
18	UPNP_INVALID_ARGS = 402,
19	HTTP_NOT_FOUND = 404,
20	HTTP_PRECONDITION_FAILED = 412,
21	HTTP_INTERNAL_SERVER_ERROR = 500,
22	HTTP_UNIMPLEMENTED = 501,
23	UPNP_ACTION_FAILED = 501,
24	UPNP_ARG_VALUE_INVALID = 600,
25	UPNP_ARG_VALUE_OUT_OF_RANGE = 601,
26	UPNP_OUT_OF_MEMORY = 603
27};
28
29#endif /* HTTP_H */
30