diff options
author | Ted Lemon <source@isc.org> | 1996-05-22 07:12:51 +0000 |
---|---|---|
committer | Ted Lemon <source@isc.org> | 1996-05-22 07:12:51 +0000 |
commit | 092ce692f640ceff7a780f7a9bde58f4203d1a56 (patch) | |
tree | 7beef6f2b3b3079800097a7e009ef01af872d65e /common/alloc.c | |
parent | a2f303cd26eac5b5c683597c7496c0f4f7391b42 (diff) | |
download | isc-dhcp-092ce692f640ceff7a780f7a9bde58f4203d1a56.tar.gz |
allocators for shared networks
Diffstat (limited to 'common/alloc.c')
-rw-r--r-- | common/alloc.c | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/common/alloc.c b/common/alloc.c index b7c55a1d..a8ab1a62 100644 --- a/common/alloc.c +++ b/common/alloc.c @@ -148,6 +148,21 @@ struct class *new_class (name) return rval; } +struct shared_network *new_shared_network (name) + char *name; +{ + struct shared_network *rval = + dmalloc (sizeof (struct shared_network), name); + return rval; +} + +void free_shared_network (ptr, name) + struct shared_network *ptr; + char *name; +{ + dfree ((VOIDPTR)ptr, name); +} + void free_class (ptr, name) struct class *ptr; char *name; |