From 73fe495cffb7eae3f68df3d3598b0f83df81b79a Mon Sep 17 00:00:00 2001 From: paulo Date: Mon, 14 Dec 2009 17:38:26 +0000 Subject: Using message queue to send commands from cli thread to bgp thread. --- lib/vty.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/vty.h') diff --git a/lib/vty.h b/lib/vty.h index 2de8065c..753b8fac 100644 --- a/lib/vty.h +++ b/lib/vty.h @@ -26,6 +26,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA #include "qpthreads.h" #include "qpselect.h" #include "qtimers.h" +#include "qpnexus.h" #define VTY_BUFSIZ 512 #define VTY_MAXHIST 20 @@ -218,7 +219,7 @@ extern int vty_lock_asserted; #endif /* Prototypes. */ -extern void vty_init_r (qpn_nexus); +extern void vty_init_r (qpn_nexus, qpn_nexus); extern void vty_exec_r(void); extern void vty_init (struct thread_master *); extern void vty_init_vtysh (void); -- cgit v1.2.3