whitespace cleanup
[oweals/busybox.git] / networking / udhcp / dhcpc.h
index 52157f5c81ac1a5d7df9aa1f3841472a199272c5..3dff11ab0691baa7df1c964000e0c54baf40f99d 100644 (file)
@@ -1,7 +1,9 @@
+/* vi: set sw=4 ts=4: */
 /* dhcpc.h */
 #ifndef _DHCPC_H
 #define _DHCPC_H
 
+/* grab define DEFAULT_SCRIPT */
 #include "libbb_udhcp.h"
 
 #define INIT_SELECTING 0
@@ -22,10 +24,14 @@ struct client_config_t {
        char *interface;                /* The name of the interface to use */
        char *pidfile;                  /* Optionally store the process ID */
        char *script;                   /* User script to run at dhcp events */
-       unsigned char *clientid;        /* Optional client id to use */
-       unsigned char *hostname;        /* Optional hostname to use */
+       uint8_t *clientid;              /* Optional client id to use */
+       uint8_t *vendorclass;           /* Optional vendor class-id to use */
+       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 */
-       unsigned char arp[6];           /* Our arp address */
+       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 */
 };
 
 extern struct client_config_t client_config;