summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_regex.h
diff options
context:
space:
mode:
authorpaul <paul>2005-05-23 16:19:54 +0200
committerpaul <paul>2005-05-23 16:19:54 +0200
commit00d252cb5ff21ecc537ab40385316b41622a95e2 (patch)
treec0132f4be53d8ae251ecb1dd8c39816f8734d08f /bgpd/bgp_regex.h
parent2005-05-23 Paul Jakma <paul@dishone.st> (diff)
downloadfrr-00d252cb5ff21ecc537ab40385316b41622a95e2.tar.xz
frr-00d252cb5ff21ecc537ab40385316b41622a95e2.zip
2005-05-23 Paul Jakma <paul@dishone.st>
* bgp_fsm.h: Add extern qualifier to exported functions * bgp_nexthop.c: add static to nexthop specific globals * *.h: Add guard defines
Diffstat (limited to 'bgpd/bgp_regex.h')
-rw-r--r--bgpd/bgp_regex.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/bgpd/bgp_regex.h b/bgpd/bgp_regex.h
index 1320711f2..3e0905f39 100644
--- a/bgpd/bgp_regex.h
+++ b/bgpd/bgp_regex.h
@@ -18,6 +18,9 @@ along with GNU Zebra; see the file COPYING. If not, write to the Free
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
02111-1307, USA. */
+#ifndef _QUAGGA_BGP_REGEX_H
+#define _QUAGGA_BGP_REGEX_H
+
#include <zebra.h>
#ifdef HAVE_GNU_REGEX
@@ -29,3 +32,5 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
void bgp_regex_free (regex_t *regex);
regex_t *bgp_regcomp (const char *str);
int bgp_regexec (regex_t *regex, struct aspath *aspath);
+
+#endif /* _QUAGGA_BGP_REGEX_H */