summaryrefslogtreecommitdiffstats
path: root/isisd/isis_adjacency.h
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-09-27 14:23:06 +0200
committerChristian Franke <chris@opensourcerouting.org>2018-10-05 14:05:28 +0200
commita5b5e946ce1d20173f522345354a59b5025fe138 (patch)
tree9bd0efc951e1e9b8950fff31fc93213bcaded7f3 /isisd/isis_adjacency.h
parentisisd: Register as BFD client (diff)
downloadfrr-a5b5e946ce1d20173f522345354a59b5025fe138.tar.xz
frr-a5b5e946ce1d20173f522345354a59b5025fe138.zip
isisd: Replace isis_event_adjacency_state_change with a hook
Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'isisd/isis_adjacency.h')
-rw-r--r--isisd/isis_adjacency.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/isisd/isis_adjacency.h b/isisd/isis_adjacency.h
index 2f39378c0..23b57ae1d 100644
--- a/isisd/isis_adjacency.h
+++ b/isisd/isis_adjacency.h
@@ -114,6 +114,7 @@ void isis_delete_adj(void *adj);
void isis_adj_process_threeway(struct isis_adjacency *adj,
struct isis_threeway_adj *tw_adj,
enum isis_adj_usage adj_usage);
+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);