]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update prototypes
authorTed Lemon <source@isc.org>
Thu, 25 Jun 1998 06:05:47 +0000 (06:05 +0000)
committerTed Lemon <source@isc.org>
Thu, 25 Jun 1998 06:05:47 +0000 (06:05 +0000)
includes/dhcpd.h

index e9ea614e5944ae9c5e19cb55183a46584d409eac..e1836730959bc74279041946f6246b72b24ade1e 100644 (file)
@@ -459,7 +459,7 @@ int store_options PROTO ((unsigned char *, int, struct tree_cache **,
 char *pretty_print_option PROTO ((unsigned int,
                                  unsigned char *, int, int, int));
 void do_packet PROTO ((struct interface_info *,
-                      unsigned char *, int,
+                      struct dhcp_packet *, int,
                       unsigned short, struct iaddr, struct hardware *));
 
 /* errwarn.c */
@@ -734,8 +734,9 @@ extern struct interface_info *interfaces, *dummy_interfaces;
 extern struct protocol *protocols;
 extern int quiet_interface_discovery;
 extern void (*bootp_packet_handler) PROTO ((struct interface_info *,
-                                    unsigned char *, int, unsigned short,
-                                    struct iaddr, struct hardware *));
+                                           struct dhcp_packet *, int,
+                                           unsigned short,
+                                           struct iaddr, struct hardware *));
 extern struct timeout *timeouts;
 void discover_interfaces PROTO ((int));
 void reinitialize_interfaces PROTO ((void));
@@ -912,7 +913,7 @@ int parse_ip_addr PROTO ((FILE *, struct iaddr *));
 void parse_reject_statement PROTO ((FILE *, struct client_config *));
 
 /* dhcrelay.c */
-void relay PROTO ((struct interface_info *, u_int8_t *, int,
+void relay PROTO ((struct interface_info *, struct dhcp_packet *, int,
                   unsigned short, struct iaddr, struct hardware *));
 
 /* icmp.c */