summaryrefslogtreecommitdiff
path: root/networking/udhcp/libbb_udhcp.h
diff options
context:
space:
mode:
author"Vladimir N. Oleynik"2005-09-23 11:25:29 +0000
committer"Vladimir N. Oleynik"2005-09-23 11:25:29 +0000
commitb628409b1e18aa6cdcf485077a3a64276e817db9 (patch)
tree70ecbe991cb076b240d290633cb5e44ef1879cb5 /networking/udhcp/libbb_udhcp.h
parent53ad366fe73b3598af6cfd133357a9ceb643c167 (diff)
downloadbusybox-b628409b1e18aa6cdcf485077a3a64276e817db9.zip
busybox-b628409b1e18aa6cdcf485077a3a64276e817db9.tar.gz
more make safe the exported namespace for udhcp. Move to bb-specific file for reduce change into udhcp-CVS
Diffstat (limited to 'networking/udhcp/libbb_udhcp.h')
-rw-r--r--networking/udhcp/libbb_udhcp.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h
index 51e1571..0dae401 100644
--- a/networking/udhcp/libbb_udhcp.h
+++ b/networking/udhcp/libbb_udhcp.h
@@ -27,6 +27,35 @@
#define xfopen bb_xfopen
+/* make safe the exported namespace */
+/* from common.h */
+#define background udhcp_background
+#define start_log_and_pid udhcp_start_log_and_pid
+/* from script.h */
+#define run_script udhcp_run_script
+/* from packet.h */
+#define init_header udhcp_init_header
+#define get_packet udhcp_get_packet
+#define checksum udhcp_checksum
+#define raw_packet udhcp_raw_packet
+#define kernel_packet udhcp_kernel_packet
+/* from pidfile.h */
+#define pidfile_acquire udhcp_pidfile_acquire
+#define pidfile_write_release udhcp_pidfile_write_release
+/* from options.h */
+#define get_option udhcp_get_option
+#define end_option udhcp_end_option
+#define add_option_string udhcp_add_option_string
+#define add_simple_option udhcp_add_simple_option
+#define option_lengths udhcp_option_lengths
+/* from socket.h */
+#define listen_socket udhcp_listen_socket
+#define read_interface udhcp_read_interface
+/* from dhcpc.h */
+#define client_config udhcp_client_config
+/* from dhcpd.h */
+#define server_config udhcp_server_config
+
#else /* ! BB_VER */
#include <stdlib.h>