2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

Add reference count to option_state structure.

This commit is contained in:
Ted Lemon
1999-04-05 19:11:44 +00:00
parent 0f803d34aa
commit a340de9528

View File

@@ -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 */