whitespace cleanup
[oweals/busybox.git] / networking / udhcp / dhcpc.h
index 4cc1c4cc1d7e181ba888c0e58595a2f0564f5824..3dff11ab0691baa7df1c964000e0c54baf40f99d 100644 (file)
@@ -1,10 +1,9 @@
+/* vi: set sw=4 ts=4: */
 /* dhcpc.h */
 #ifndef _DHCPC_H
 #define _DHCPC_H
 
-#define DEFAULT_SCRIPT  "/usr/share/udhcpc/default.script"
-
-/* allow libbb_udhcp.h to redefine DEFAULT_SCRIPT */
+/* grab define DEFAULT_SCRIPT */
 #include "libbb_udhcp.h"
 
 #define INIT_SELECTING 0
@@ -30,6 +29,8 @@ struct client_config_t {
        uint8_t *hostname;              /* Optional hostname to use */
        uint8_t *fqdn;                  /* Optional fully qualified domain name to use */
        int ifindex;                    /* Index number of the interface to use */
+       int retries;                    /* Max number of request packets */
+       int timeout;                    /* Number of seconds to try to get a lease */
        uint8_t arp[6];                 /* Our arp address */
 };