diff options
Diffstat (limited to 'lib/qlib_init.h')
-rw-r--r-- | lib/qlib_init.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/lib/qlib_init.h b/lib/qlib_init.h index 0d5fbd7e..71ccc162 100644 --- a/lib/qlib_init.h +++ b/lib/qlib_init.h @@ -22,6 +22,8 @@ #ifndef _ZEBRA_QLIB_INIT_H #define _ZEBRA_QLIB_INIT_H +#include "misc.h" + /*============================================================================== * Quagga Library Initialise/Closedown * @@ -33,8 +35,18 @@ extern void qlib_init_first_stage(void) ; -extern void qlib_init_second_stage(int pthreads) ; +extern void qlib_init_second_stage(bool pthreads) ; extern void qexit(int exit_code) ; +/*============================================================================== + * System parameters, set at qlib_init_first_stage() time. + */ + +int qlib_iov_max ; /* Maximum length of iovec vector */ + +int qlib_open_max ; /* Maximum number of file descriptors */ + +int qlib_pagesize ; /* Size of system page */ + #endif /* _ZEBRA_QLIB_INIT_H */ |