Hi all,
I'm looking for an example of a preinit_callback that checks the
syntax of a config file.
I don't see a way to check the syntax of a file, so I'm not sure what
I can do in preinit_callback aside from trying to load the config via
init(). The docs say that init_and_watch may fail on reload, but the
code will fallback to an old config if it's already loaded.
So, I'm wondering what I can do in the preinit_callback.
Thanks for any advice!
--
Aaron
|