MHEG5  15.3.0
source/http/inc/httptype.h
Go to the documentation of this file.
00001 /*******************************************************************************
00002  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
00003  * Copyright © 2013 Ocean Blue Software Ltd
00004  *
00005  * This file is part of a DTVKit Software Component
00006  * You are permitted to copy, modify or distribute this file subject to the terms
00007  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
00008  *
00009  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
00010  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
00011  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
00012  *
00013  * If you or your organisation is not a member of DTVKit then you have access
00014  * to this source code outside of the terms of the licence agreement
00015  * and you are expected to delete this and any associated files immediately.
00016  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
00017  *******************************************************************************/
00025 #ifndef _HTTPTYPE_H
00026 #define _HTTPTYPE_H
00027 
00028 /* HTTP component error codes. */
00029 typedef enum
00030 {
00031    HTTP_OK = 0,
00032    HTTP_ERR_INTERNAL,
00033    HTTP_ERR_BAD_PARAMETER
00034 } E_HttpErr;
00035 
00036 typedef enum
00037 {
00038    HTTP_STATUS_OK,
00039    HTTP_STATUS_WAIT,
00040    HTTP_STATUS_SSL_ERROR,
00041    HTTP_STATUS_NETWORK_ERROR,
00042    HTTP_STATUS_TIMEOUT,
00043    HTTP_STATUS_OTHER_ERROR,
00044    HTTP_STATUS_PARTIAL
00045 } E_HttpStatus;
00046 
00047 #endif /*_HTTPTYPE_H*/
 All Data Structures Files Functions Variables Typedefs Defines