summaryrefslogtreecommitdiffstats
path: root/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h')
-rwxr-xr-xtinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h21
1 files changed, 10 insertions, 11 deletions
diff --git a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h
index f3db0e2..7612d31 100755
--- a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.h
+++ b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Byte-Range.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.
*
@@ -40,23 +40,22 @@ TMSRP_BEGIN_DECLS
#define TMSRP_HEADER_BYTE_RANGE_IS_VALID(self) ((self) && (self)->start > 0 && (self)->end > 0 && (self)->end > (self)->start)
////////////////////////////////////////////////////////////////////////////////////////////////////
-/// @struct
+/// @struct
///
/// @brief MSRP 'Byte-Range' header.
///
/// @par ABNF : Byte-Range = "Byte-Range:" SP range-start "-" range-end "/" total
/// range-start = 1*DIGIT
/// range-end = 1*DIGIT / "*"
-/// total = 1*DIGIT / "*"
+/// total = 1*DIGIT / "*"
///
////////////////////////////////////////////////////////////////////////////////////////////////////
-typedef struct tmsrp_header_Byte_Range_s
-{
- TMSRP_DECLARE_HEADER;
+typedef struct tmsrp_header_Byte_Range_s {
+ TMSRP_DECLARE_HEADER;
- int64_t start;
- int64_t end;
- int64_t total;
+ int64_t start;
+ int64_t end;
+ int64_t total;
}
tmsrp_header_Byte_Range_t;
OpenPOWER on IntegriCloud