accel-ppp
accel-ppp copied to clipboard
Ensure const correctness when reading the configuration
As they say, "shared mutable state is the root of all evil". This patch series clearly marks the triton code as the owner of the configuration objects, making their content internal. Most of the changes are simply changing the client code to use the proper type, with the exception of pppd_compat.
There, the changes are a bit more involved, as the const char *
pointers end up being fed to an API that takes in char *
arguments for historical reasons. Detailed explanations can be found in the commit logs.