From a340de9528d7610f38154f9d9b9be8919c62dc2e Mon Sep 17 00:00:00 2001 From: Ted Lemon Date: Mon, 5 Apr 1999 19:11:44 +0000 Subject: [PATCH] Add reference count to option_state structure. --- includes/dhcpd.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/includes/dhcpd.h b/includes/dhcpd.h index ca23607ff..f32427c8c 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -102,6 +102,7 @@ struct option_cache { }; struct option_state { + int refcnt; int universe_count; VOIDPTR universes [1]; }; @@ -1054,6 +1055,8 @@ int dns_host_entry_reference PROTO ((struct dns_host_entry **, struct dns_host_entry *, char *)); int dns_host_entry_dereference PROTO ((struct dns_host_entry **, char *)); int option_state_allocate PROTO ((struct option_state **, char *)); +int option_state_reference PROTO ((struct option_state **, + struct option_state *, char *)); int option_state_dereference PROTO ((struct option_state **, char *)); /* print.c */ -- 2.47.3