diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-09-27 12:19:53 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-10-06 11:27:11 +0400 |
commit | e4cbf7529ba4bcfff47c44b0d026ecb356004c8c (patch) | |
tree | a1c3a3fb245220594acbf15f7c9ec7344bb03db7 /libavformat/httpauth.h | |
parent | 76f644d9f7f511a4e8dbc4938d40c43b49383c22 (diff) |
Give all anonymously typedeffed structs in headers a name
Anonymous structs cannot be forward declared and have no benefit.
Diffstat (limited to 'libavformat/httpauth.h')
-rw-r--r-- | libavformat/httpauth.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/httpauth.h b/libavformat/httpauth.h index bd0644906a..99bf43ffdc 100644 --- a/libavformat/httpauth.h +++ b/libavformat/httpauth.h @@ -32,7 +32,7 @@ typedef enum HTTPAuthType { HTTP_AUTH_DIGEST, /**< HTTP 1.1 Digest auth from RFC 2617 */ } HTTPAuthType; -typedef struct { +typedef struct DigestParams { char nonce[300]; /**< Server specified nonce */ char algorithm[10]; /**< Server specified digest algorithm */ char qop[30]; /**< Quality of protection, containing the one @@ -52,7 +52,7 @@ typedef struct { * HTTP Authentication state structure. Must be zero-initialized * before used with the functions below. */ -typedef struct { +typedef struct HTTPAuthState { /** * The currently chosen auth type. */ |