Give all anonymously typedeffed structs in headers a name

Anonymous structs cannot be forward declared and have no benefit.
This commit is contained in:
Diego Biurrun 2012-09-27 10:19:53 +02:00
parent 76f644d9f7
commit e4cbf7529b
56 changed files with 114 additions and 114 deletions

View file

@ -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.
*/