diff --git a/src/cache.cc b/src/cache.cc index 328b733..343650e 100644 --- a/src/cache.cc +++ b/src/cache.cc @@ -51,7 +51,7 @@ struct CacheEntry_t ~CacheEntry_t(); std::unique_ptr< const DilloUrl > Url; /**< Cached Url. Url is used as a primary Key */ - std::string TypeDet; /**< MIME type string (detected from data) */ + std::string TypeDet; /**< MIME type string (detected from data) */ char *TypeHdr; /**< MIME type string as from the HTTP Header */ char *TypeMeta; /**< MIME type string from META HTTP-EQUIV */ char *TypeNorm; /**< MIME type string normalized */ diff --git a/src/decode.hh b/src/decode.hh index 3d90d38..42214d1 100644 --- a/src/decode.hh +++ b/src/decode.hh @@ -7,22 +7,22 @@ extern "C" { #endif /* __cplusplus */ -typedef struct Decode { +struct Decode { char *buffer; Dstr *leftover; void *state; Dstr *(*decode) (struct Decode *dc, const char *instr, int inlen); void (*free) (struct Decode *dc); -} Decode; +}; /* I'm not going to shoehorn the decoders into the same form anymore. They * can evolve independently. */ -typedef struct DecodeTransfer { +struct DecodeTransfer { Dstr *leftover; void *state; bool_t finished; /**< has the terminating chunk been seen? */ -} DecodeTransfer; +}; DecodeTransfer *a_Decode_transfer_init(const char *format); Dstr *a_Decode_transfer_process(DecodeTransfer *dc, const char *instr,