From: Ted Lemon Date: Mon, 4 Oct 1999 23:49:25 +0000 (+0000) Subject: Prototype nsupdate.c. X-Git-Tag: V3-BETA-1-PATCH-2~5^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ba7cdec0e95a2892aa1dbb5f9d16131ab2fdf6e;p=thirdparty%2Fdhcp.git Prototype nsupdate.c. --- diff --git a/includes/dhcpd.h b/includes/dhcpd.h index 1b957ccba..6425b5da7 100644 --- a/includes/dhcpd.h +++ b/includes/dhcpd.h @@ -1809,3 +1809,14 @@ void hw_hash_add PROTO ((struct lease *)); void hw_hash_delete PROTO ((struct lease *)); void write_leases PROTO ((void)); void dump_subnets PROTO ((void)); + +/* nsupdate.c */ +char *ddns_rev_name (struct lease *, struct lease_state *, struct packet *); +char *ddns_fwd_name (struct lease *, struct lease_state *, struct packet *); +int nsupdateA (const char *, const unsigned char *, u_int32_t, int); +int nsupdatePTR (const char *, const unsigned char *, u_int32_t, int); +void nsupdate (struct lease *, struct lease_state *, struct packet *, int); +int updateA (const struct data_string *, const struct data_string *, + unsigned int, struct lease *); +int updatePTR (const struct data_string *, const struct data_string *, + unsigned int, struct lease *);