summaryrefslogtreecommitdiffstats
path: root/tinyMSRP/include/tinymsrp/headers/tmsrp_header.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyMSRP/include/tinymsrp/headers/tmsrp_header.h')
-rwxr-xr-xtinyMSRP/include/tinymsrp/headers/tmsrp_header.h50
1 files changed, 24 insertions, 26 deletions
diff --git a/tinyMSRP/include/tinymsrp/headers/tmsrp_header.h b/tinyMSRP/include/tinymsrp/headers/tmsrp_header.h
index ad574a4..20bf236 100755
--- a/tinyMSRP/include/tinymsrp/headers/tmsrp_header.h
+++ b/tinyMSRP/include/tinymsrp/headers/tmsrp_header.h
@@ -2,19 +2,19 @@
* Copyright (C) 2009 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango.org>
-*
+*
* This file is part of Open Source Doubango Framework.
*
* DOUBANGO is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
-*
+*
* DOUBANGO is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
-*
+*
* You should have received a copy of the GNU General Public License
* along with DOUBANGO.
*
@@ -49,34 +49,32 @@ typedef int (*tmsrp_header_value_tostring_f)(const struct tmsrp_header_s* header
*
* @brief List of all supported headers.
**/
-typedef enum tmsrp_header_type_e
-{
- tmsrp_htype_Authentication_Info,
- tmsrp_htype_Authorization,
- tmsrp_htype_Byte_Range,
- tmsrp_htype_Content_Type,
- tmsrp_htype_Dummy,
- tmsrp_htype_Expires,
- tmsrp_htype_Failure_Report,
- tmsrp_htype_From_Path,
- tmsrp_htype_Max_Expires,
- tmsrp_htype_Message_ID,
- tmsrp_htype_Min_Expires,
- tmsrp_htype_Status,
- tmsrp_htype_Success_Report,
- tmsrp_htype_To_Path,
- tmsrp_htype_Use_Path,
- tmsrp_htype_WWW_Authenticate
+typedef enum tmsrp_header_type_e {
+ tmsrp_htype_Authentication_Info,
+ tmsrp_htype_Authorization,
+ tmsrp_htype_Byte_Range,
+ tmsrp_htype_Content_Type,
+ tmsrp_htype_Dummy,
+ tmsrp_htype_Expires,
+ tmsrp_htype_Failure_Report,
+ tmsrp_htype_From_Path,
+ tmsrp_htype_Max_Expires,
+ tmsrp_htype_Message_ID,
+ tmsrp_htype_Min_Expires,
+ tmsrp_htype_Status,
+ tmsrp_htype_Success_Report,
+ tmsrp_htype_To_Path,
+ tmsrp_htype_Use_Path,
+ tmsrp_htype_WWW_Authenticate
}
tmsrp_header_type_t;
/*================================
*/
-typedef struct tmsrp_header_s
-{
- TSK_DECLARE_OBJECT;
- tmsrp_header_type_t type;
- tmsrp_header_value_tostring_f tostring;
+typedef struct tmsrp_header_s {
+ TSK_DECLARE_OBJECT;
+ tmsrp_header_type_t type;
+ tmsrp_header_value_tostring_f tostring;
}
tmsrp_header_t;
OpenPOWER on IntegriCloud