diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2019-10-17 15:33:53 -0300 | 
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2019-10-29 21:49:14 -0300 | 
| commit | 2a1c520e9f105b1a1bbdb89d59ad3c3953f46f49 (patch) | |
| tree | 23ebce15b36d13f0164d1961aa3cc8df452bffc6 /isisd/isis_adjacency.h | |
| parent | 37cdb6e91dd8410bb884c15a818a37775e9cd135 (diff) | |
isisd: split northbound callbacks into multiple files
Rearrange the isisd northbound callbacks as following:
* isis_nb.h: prototypes of all northbound callbacks.
* isis_nb.c: definition of all northbound callbacks and their
  associated YANG data paths.
* isis_nb_config.c: implementation of YANG configuration nodes.
* isis_nb_state.c: implementation of YANG state nodes.
* isis_nb_notifications.c: implementation of YANG notifications.
This should help to keep to code more organized and easier to
maintain.
No behavior changes intended.
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_adjacency.h')
| -rw-r--r-- | isisd/isis_adjacency.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_adjacency.h b/isisd/isis_adjacency.h index 2a4cb6e614..93583fc122 100644 --- a/isisd/isis_adjacency.h +++ b/isisd/isis_adjacency.h @@ -121,6 +121,7 @@ DECLARE_HOOK(isis_adj_state_change_hook, (struct isis_adjacency *adj), (adj))  void isis_adj_state_change(struct isis_adjacency *adj,  			   enum isis_adj_state state, const char *reason);  void isis_adj_print(struct isis_adjacency *adj); +const char *isis_adj_yang_state(enum isis_adj_state state);  int isis_adj_expire(struct thread *thread);  void isis_adj_print_vty(struct isis_adjacency *adj, struct vty *vty,  			char detail);  | 
