summaryrefslogtreecommitdiffstats
path: root/tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h
diff options
context:
space:
mode:
Diffstat (limited to 'tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h')
-rwxr-xr-xtinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h35
1 files changed, 17 insertions, 18 deletions
diff --git a/tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h b/tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h
index 0543b5b..e591990 100755
--- a/tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h
+++ b/tinyHTTP/include/tinyhttp/headers/thttp_header_Authorization.h
@@ -2,19 +2,19 @@
* Copyright (C) 2010-2011 Mamadou Diop.
*
* Contact: Mamadou Diop <diopmamadou(at)doubango[dot]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.
*
@@ -43,23 +43,22 @@ THTTP_BEGIN_DECLS
/// credentials = "Digest" digest-response
/// digest-response = digest-response-value *(COMMA digest-response-value)
/// digest-response-value = ( username / realm / nonce / digest-url / auth-response / [ algorithm ] / [cnonce] / [opaque] / [message-qop] / [nonce-count] / [auth-param] )
-///
+///
////////////////////////////////////////////////////////////////////////////////////////////////////
-typedef struct thttp_header_Authorization_s
-{
- THTTP_DECLARE_HEADER;
+typedef struct thttp_header_Authorization_s {
+ THTTP_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;
}
thttp_header_Authorization_t;
typedef thttp_header_Authorization_t thttp_header_Proxy_Authorization_t;
OpenPOWER on IntegriCloud