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:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user