diff options
Diffstat (limited to 'tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.h')
-rwxr-xr-x | tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.h b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.h index f571a69..d992b68 100755 --- a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.h +++ b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Status.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. * @@ -38,22 +38,21 @@ TMSRP_BEGIN_DECLS #define TMSRP_HEADER_STATUS_VA_ARGS(namespace, code, reason) tmsrp_header_Status_def_t, (short)namespace, (short)code, (const char*)reason //////////////////////////////////////////////////////////////////////////////////////////////////// -/// @struct +/// @struct /// /// @brief MSRP 'Status' header. /// /// @par ABNF : Status = "Status:" SP namespace SP status-code [SP text-reason] /// namespace = 3(DIGIT) ; "000" for all codes defined in RFC 4975 -/// text-reason = utf8text +/// text-reason = utf8text /// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tmsrp_header_Status_s -{ - TMSRP_DECLARE_HEADER; +typedef struct tmsrp_header_Status_s { + TMSRP_DECLARE_HEADER; - short _namespace; - short code; - char* reason; + short _namespace; + short code; + char* reason; } tmsrp_header_Status_t; |