diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-17 17:26:02 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-30 10:32:51 -0300 |
| commit | f5f0a0e302da2e84d32c5accff28f0a2237483d4 (patch) | |
| tree | b63689eb5fb2958ea15eee37dddcce8524466778 /pimd/pim_zebra.c | |
| parent | 6c57402944e642b9dab888f8f8ab15675c234bf0 (diff) | |
tools: update the northbound callbacks generator
Add a new '-s' option which controls whether the generated northbound
callbacks are declared with the 'static' specifier or not. If not
(the default), a prototype is generated for each callback before
their declarations.
It's suggested that daemons shouldn't use the '-s' option so that
their northbound callbacks can be implemented in different files
according to their class (config, state, rpc or notification).
libfrr commands, on the other hand, can use the '-s' option when
their associated YANG module is too small and putting all callbacks
in the same file is desirable.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_zebra.c')
0 files changed, 0 insertions, 0 deletions
