summaryrefslogtreecommitdiff
path: root/lib/if.h
diff options
context:
space:
mode:
authorTom Goff <thomas.goff@boeing.com>2010-11-10 13:00:54 -0800
committerPaul Jakma <paul@quagga.net>2011-03-21 13:30:54 +0000
commit4bd045d5dd28653af899c01d6f0c413d74677114 (patch)
treef1e633f50e4dc19b4b0cda9dc6e6feb46e3bab46 /lib/if.h
parentc8e7b8959051bf525183bdbff605e54b4b532e2c (diff)
lib: Add a function to delete all interfaces
if.c: (if_terminate) This adds a cleanup function that can be called when a daemon exits, similar to vty_terminate().
Diffstat (limited to 'lib/if.h')
-rw-r--r--lib/if.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/if.h b/lib/if.h
index c99ab81b..841ce51e 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -266,6 +266,7 @@ extern int if_is_pointopoint (struct interface *);
extern int if_is_multicast (struct interface *);
extern void if_add_hook (int, int (*)(struct interface *));
extern void if_init (void);
+extern void if_terminate (void);
extern void if_dump_all (void);
extern const char *if_flag_dump(unsigned long);