MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
httptype.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2013 Ocean Blue Software Ltd
4  *
5  * This file is part of a DTVKit Software Component
6  * You are permitted to copy, modify or distribute this file subject to the terms
7  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
8  *
9  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
10  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
11  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
12  *
13  * If you or your organisation is not a member of DTVKit then you have access
14  * to this source code outside of the terms of the licence agreement
15  * and you are expected to delete this and any associated files immediately.
16  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
17  *******************************************************************************/
25 #ifndef _HTTPTYPE_H
26 #define _HTTPTYPE_H
27 
28 /* HTTP component error codes. */
29 typedef enum
30 {
31  HTTP_OK = 0,
32  HTTP_ERR_INTERNAL,
33  HTTP_ERR_BAD_PARAMETER
34 } E_HttpErr;
35 
36 typedef enum
37 {
38  HTTP_STATUS_OK,
39  HTTP_STATUS_WAIT,
40  HTTP_STATUS_SSL_ERROR,
41  HTTP_STATUS_NETWORK_ERROR,
42  HTTP_STATUS_TIMEOUT,
43  HTTP_STATUS_OTHER_ERROR,
44  HTTP_STATUS_PARTIAL
45 } E_HttpStatus;
46 
47 #endif /*_HTTPTYPE_H*/