diff options
author | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-06 23:51:04 +0000 |
---|---|---|
committer | Chris Hall (GMCH) <chris.hall@highwayman.com> | 2009-12-06 23:51:04 +0000 |
commit | 082631fa4c75eaff3befb46a17914c0bd8e6b606 (patch) | |
tree | 5d353b0c002bdc21bd58a605b54e6848ca5005b6 /lib/memtypes.c | |
parent | f3058d927bb083124519ea0a315f646bfbe52cb1 (diff) | |
download | quagga-082631fa4c75eaff3befb46a17914c0bd8e6b606.tar.bz2 quagga-082631fa4c75eaff3befb46a17914c0bd8e6b606.tar.xz |
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
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r-- | lib/memtypes.c | 4 |
1 files changed, 4 insertions, 0 deletions
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" }, |