mirror of
https://github.com/google/brotli.git
synced 2026-04-06 06:03:43 +00:00
Separate the public headers #4
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @khaledhosny on GitHub (Oct 17, 2014).
IMO, it would be cleaner to move the public headers to a separate
includedirectory, and/or give them less generic names likebrotli-decode.handbrotli-encode.h, to streamline the use of the library.@khaledhosny commented on GitHub (Oct 17, 2014):
I gave it a quick try, but it seems that the public headers include on most of the other ones, so it will need a bit of thought.
@lvandeve commented on GitHub (Sep 21, 2015):
Hi,
Thank you for the comment. For now, if it helps, the headers that can be considered to contain the public API are "decode.h" and its included "streams.h" for the decoder, and "encode.h" and its included "streams.h" for the encoder.
This API is not final, we are in the process of revising it.
@eustas commented on GitHub (Jun 16, 2016):
Done. enc/encode.h and dec'decode.h now depend only on common/types.h