summaryrefslogtreecommitdiffstats
path: root/lib/vty.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty.h')
-rw-r--r--lib/vty.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/vty.h b/lib/vty.h
index 1e7f1261..4568f775 100644
--- a/lib/vty.h
+++ b/lib/vty.h
@@ -23,6 +23,7 @@ Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
#include "thread.h"
#include "log.h"
+#include "qpthreads.h"
#define VTY_BUFSIZ 512
#define VTY_MAXHIST 20
@@ -205,10 +206,18 @@ do {
/* Exported variables */
extern char integrate_default[];
+extern qpt_mutex_t* vty_mutex;
+#ifndef NDEBUG
+extern int vty_lock_count;
+#endif
/* Prototypes. */
+extern void vty_init_r (struct thread_master *);
+extern void vty_terminate_r (void);
+
extern void vty_init (struct thread_master *);
extern void vty_init_vtysh (void);
+extern void vty_terminate_r (void);
extern void vty_terminate (void);
extern void vty_reset (void);
extern struct vty *vty_new (void);