From: Ted Lemon Date: Thu, 12 Oct 2000 09:00:33 +0000 (+0000) Subject: Update zone caching prototypes X-Git-Tag: V3-BETA-2-PATCH-7~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2398d97384ac515255cf3e49118d0dc26a43b50;p=thirdparty%2Fdhcp.git Update zone caching prototypes --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index b3a604816..37335cf7f 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -1348,6 +1348,10 @@ int dns_zone_reference PROTO ((struct dns_zone **, char *print_hw_addr PROTO ((int, int, unsigned char *)); void print_lease PROTO ((struct lease *)); void dump_raw PROTO ((const unsigned char *, unsigned)); +void dump_packet_option (struct option_cache *, struct packet *, + struct lease *, struct option_state *, + struct option_state *, struct binding_scope **, + struct universe *, void *); void dump_packet PROTO ((struct packet *)); void hash_dump PROTO ((struct hash_table *)); char *print_hex_1 PROTO ((unsigned, const u_int8_t *, unsigned)); @@ -1835,6 +1839,7 @@ ns_rcode find_cached_zone (const char *, ns_class, char *, struct dns_zone **); void forget_zone (struct dns_zone **); void repudiate_zone (struct dns_zone **); +void cache_found_zone (ns_class, char *, struct in_addr *, int); #endif /* NSUPDATE */ HASH_FUNCTIONS_DECL (dns_zone, const char *, struct dns_zone) diff --git a/includes/minires/minires.h b/includes/minires/minires.h index 6a488b98d..59b438626 100644 --- a/includes/minires/minires.h +++ b/includes/minires/minires.h @@ -197,6 +197,7 @@ ns_rcode find_cached_zone (const char *, ns_class, char *, int find_tsig_key (ns_tsig_key **, const char *, void *); int forget_zone (void *); int repudiate_zone (void *); +void cache_found_zone (ns_class, char *, struct in_addr *, int); #define DprintQ(a,b,c,d) #define Dprint(a,b)