Skip to content
Snippets Groups Projects
Commit a9ea70d8 authored by Konstantin Osipov's avatar Konstantin Osipov
Browse files

cfg: new cfg api, without explicit passing of cfg options

With structured configuration, i.e. a Lua table for a list of
replication peers, it is difficult to pass a configuration option
to the hook function as a single C object. Don't pass
options in, but query them from the hook function with cfg_get*
API.

As a result, all "change" hooks have the same signature now,
a step closer to the pluggable configuration API.
parent a5cf3a68
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment