From 9e867fe663c4eb43c36f35067c0dd092e8c83c14 Mon Sep 17 00:00:00 2001 From: jardin Date: Tue, 23 Dec 2003 08:56:18 +0000 Subject: Merge isisd into the Quagga's framework: - add privs support - use misc quagga's definitions - make it compile"able" - fix segfault cases related to hostname() - add debug isis xxx command This patch has been approved by Paul Jakma. --- lib/thread.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/thread.h') diff --git a/lib/thread.h b/lib/thread.h index 0a45d8f3..9a8c2bef 100644 --- a/lib/thread.h +++ b/lib/thread.h @@ -131,6 +131,7 @@ struct cpu_thread_history { #define thread_add_read(m,f,a,v) funcname_thread_add_read(m,f,a,v,#f) #define thread_add_write(m,f,a,v) funcname_thread_add_write(m,f,a,v,#f) #define thread_add_timer(m,f,a,v) funcname_thread_add_timer(m,f,a,v,#f) +#define thread_add_timer_msec(m,f,a,v) funcname_thread_add_timer_msec(m,f,a,v,#f) #define thread_add_event(m,f,a,v) funcname_thread_add_event(m,f,a,v,#f) #define thread_execute(m,f,a,v) funcname_thread_execute(m,f,a,v,#f) @@ -142,6 +143,8 @@ struct thread *funcname_thread_add_write (struct thread_master *, int (*)(struct thread *), void *, int, char*); struct thread *funcname_thread_add_timer (struct thread_master *, int (*)(struct thread *), void *, long, char*); +struct thread *funcname_thread_add_timer_msec (struct thread_master *, + int (*)(struct thread *), void *, long, char*); struct thread *funcname_thread_add_event (struct thread_master *, int (*)(struct thread *), void *, int, char*); void thread_cancel (struct thread *); -- cgit v1.2.3