summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.h
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-02-08 23:44:58 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-02-08 23:44:58 +0000
commit8a86b13a9680c84a15047409e47c7e9880b2c432 (patch)
tree43f2937da846746315d280a43be59581b9a22cfe /usr.sbin/bgpd/session.h
parent627c358ce1287125f08bcea706dec75aa35e0905 (diff)
factor out functions to print the configuration (rules only for now)
will become more and needed by bgpctl too
Diffstat (limited to 'usr.sbin/bgpd/session.h')
-rw-r--r--usr.sbin/bgpd/session.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h
index ffe02dd80f0..8e2162f0269 100644
--- a/usr.sbin/bgpd/session.h
+++ b/usr.sbin/bgpd/session.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.h,v 1.26 2004/02/07 11:42:30 henning Exp $ */
+/* $OpenBSD: session.h,v 1.27 2004/02/08 23:44:57 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -197,3 +197,6 @@ void control_close(int);
int pfkey_auth_establish(struct peer *p);
int pfkey_auth_remove(struct peer *p);
int pfkey_init(void);
+
+/* printconf.c */
+void print_rule(struct peer *, struct filter_rule *);