1 /* vi: set sw=4 ts=4: */
2 /* libbb_udhcp.h - busybox compatibility wrapper */
4 /* bit of a hack, do this no matter what the order of the includes.
13 #ifdef CONFIG_INSTALL_NO_USR
14 # define DEFAULT_SCRIPT "/share/udhcpc/default.script"
16 # define DEFAULT_SCRIPT "/usr/share/udhcpc/default.script"
21 #define COMBINED_BINARY
23 void udhcp_background(const char *pidfile);
24 void udhcp_start_log_and_pid(const char *pidfile);
26 void udhcp_run_script(struct dhcpMessage *packet, const char *name);
28 // Still need to clean these up...
31 #define pidfile_acquire udhcp_pidfile_acquire
32 #define pidfile_write_release udhcp_pidfile_write_release
34 #define get_option udhcp_get_option
35 #define end_option udhcp_end_option
36 #define add_option_string udhcp_add_option_string
37 #define add_simple_option udhcp_add_simple_option
38 #define option_lengths udhcp_option_lengths
40 #define listen_socket udhcp_listen_socket
41 #define read_interface udhcp_read_interface
43 #define client_config udhcp_client_config
45 #define server_config udhcp_server_config
47 #endif /* _LIBBB_UDHCP_H */