diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-08 12:22:37 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-08 12:22:37 +0000 |
commit | 601127bf9b0a53d2d3ea60e6bebbcbd496a51080 (patch) | |
tree | 14bc9fb0edf8478cf13c2be9fcbc4e1ecf9cc4c0 /lib/vty.h | |
parent | 384ced4779fdf1b39f0122a7cc66db91a2ade090 (diff) | |
parent | 63565b7d35577d095089ee579534abd7788f50ab (diff) | |
download | quagga-601127bf9b0a53d2d3ea60e6bebbcbd496a51080.tar.bz2 quagga-601127bf9b0a53d2d3ea60e6bebbcbd496a51080.tar.xz |
Merge branch 'pthreads' of /git/quagga.euro-ix into pthreads
Diffstat (limited to 'lib/vty.h')
-rw-r--r-- | lib/vty.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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); |