diff options
Diffstat (limited to 'tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.h')
-rwxr-xr-x | tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.h | 43 |
1 files changed, 21 insertions, 22 deletions
diff --git a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.h b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.h index f671129..6340b9a 100755 --- a/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.h +++ b/tinyMSRP/include/tinymsrp/headers/tmsrp_header_Authorization.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. * @@ -36,7 +36,7 @@ TMSRP_BEGIN_DECLS //////////////////////////////////////////////////////////////////////////////////////////////////// -/// @struct +/// @struct /// /// @brief MSRP header 'Authorization' as per RFC 3261 subclause . /// @@ -56,34 +56,33 @@ TMSRP_BEGIN_DECLS /// dresponse = "response" EQUAL request-digest /// request-digest = LDQUOT 32LHEX RDQUOT /// auth-request-uri = not-defined -/// +/// /// auth-param = auth-param-name EQUAL ( token / quoted-string ) /// auth-param-name = token -/// +/// /// other-response = auth-scheme LWS auth-param *(COMMA auth-param) /// auth-scheme = token /// auts = "auts" EQUAL auts-param /// auts-param = LDQUOT auts-value RDQUOT /// auts-value = <base64 encoding of AUTS> -/// +/// //////////////////////////////////////////////////////////////////////////////////////////////////// -typedef struct tmsrp_header_Authorization_s -{ - TMSRP_DECLARE_HEADER; +typedef struct tmsrp_header_Authorization_s { + TMSRP_DECLARE_HEADER; - char* scheme; - char* username; - char* realm; - char* nonce; - char* uri; - char* response; - char* algorithm; - char* cnonce; - char* opaque; - char* qop; - char* nc; + char* scheme; + char* username; + char* realm; + char* nonce; + char* uri; + char* response; + char* algorithm; + char* cnonce; + char* opaque; + char* qop; + char* nc; - tsk_params_L_t *params; + tsk_params_L_t *params; } tmsrp_header_Authorization_t; |