summaryrefslogtreecommitdiff
path: root/lib/memtypes.c
diff options
context:
space:
mode:
authorpaul <paul>2005-10-26 05:05:16 +0000
committerpaul <paul>2005-10-26 05:05:16 +0000
commit0241684ea77e8aa20ad2cb3903589559f4a7b009 (patch)
tree2bb64a53f5d8c1091839be9e1afb6e4625828f38 /lib/memtypes.c
parent216565ab68148d3161422c0d73730614bfeccd7c (diff)
2005-10-26 Paul Jakma <paul.jakma@sun.com>
* (general) Cleanup a some calls to XFREE,strdup, etc. to use the memory.h macros. * memtypes.c: Add MTYPE_IF_RMAP_NAME, MTYPE_PQUEUE, MTYPE_PQUEUE_DATA and MTYPE_HOST. * memtypes.h: update auto-built file. * if_rmap.c: Use MTYPE_IF_RMAP_NAME. * pqueue.c: Use the two MTYPE_PQUEUE mtypes for allocations.
Diffstat (limited to 'lib/memtypes.c')
-rw-r--r--lib/memtypes.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/memtypes.c b/lib/memtypes.c
index f7c07fbb..4aac2f78 100644
--- a/lib/memtypes.c
+++ b/lib/memtypes.c
@@ -6,7 +6,7 @@
* The script is sensitive to the format (though not whitespace), see
* the top of memtypes.awk for more details.
*
- * $Id: memtypes.c,v 1.8 2005/10/18 04:20:33 paul Exp $
+ * $Id: memtypes.c,v 1.9 2005/10/26 05:05:16 paul Exp $
*/
#include "zebra.h"
@@ -60,6 +60,7 @@ struct memory_list memory_list_lib[] =
{ MTYPE_KEY, "Key" },
{ MTYPE_KEYCHAIN, "Key chain" },
{ MTYPE_IF_RMAP, "Interface route map" },
+ { MTYPE_IF_RMAP_NAME, "I.f. route map name", },
{ MTYPE_SOCKUNION, "Socket union" },
{ MTYPE_PRIVS, "Privilege information" },
{ MTYPE_ZLOG, "Logging" },
@@ -67,6 +68,9 @@ struct memory_list memory_list_lib[] =
{ MTYPE_WORK_QUEUE, "Work queue" },
{ MTYPE_WORK_QUEUE_ITEM, "Work queue item" },
{ MTYPE_WORK_QUEUE_NAME, "Work queue name string" },
+ { MTYPE_PQUEUE, "Priority queue" },
+ { MTYPE_PQUEUE_DATA, "Priority queue data" },
+ { MTYPE_HOST, "Host config" },
{ -1, NULL },
};