From 082631fa4c75eaff3befb46a17914c0bd8e6b606 Mon Sep 17 00:00:00 2001 From: "Chris Hall (GMCH)" Date: Sun, 6 Dec 2009 23:51:04 +0000 Subject: Initial commit for lib/qpselect.c & .h and lib/qtimers.c & .h lib/qpselect supports data structure to multiplex between many file descriptors using pselect(). lib/qtimers supports data structures to run multiple timers. Also affected: lib/Makefile.am -- to add the new files lib/memtypes.c -- to add further memory types for the above --- lib/memtypes.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/memtypes.c') diff --git a/lib/memtypes.c b/lib/memtypes.c index 18d8b8f8..18d42a9e 100644 --- a/lib/memtypes.c +++ b/lib/memtypes.c @@ -35,6 +35,10 @@ struct memory_list memory_list_lib[] = { MTYPE_MQUEUE_QUEUE, "Mqueue queue structure" }, { MTYPE_MQUEUE_BLOCKS, "Mqueue message blocks" }, { MTYPE_MQUEUE_THREAD_SIGNAL, "Mqueue thread signal" }, + { MTYPE_QPS_SELECTION, "qpselect selection" }, + { MTYPE_QPS_FILE, "qpselect file" }, + { MTYPE_QTIMER_PILE, "qtimer pile structure" }, + { MTYPE_QTIMER, "qtimer timer" }, { MTYPE_VTY, "VTY" }, { MTYPE_VTY_OUT_BUF, "VTY output buffer" }, { MTYPE_VTY_HIST, "VTY history" }, -- cgit v1.2.3