diff options
author | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-23 11:25:29 +0000 |
---|---|---|
committer | "Vladimir N. Oleynik" <dzo@simtreas.ru> | 2005-09-23 11:25:29 +0000 |
commit | b628409b1e18aa6cdcf485077a3a64276e817db9 (patch) | |
tree | 70ecbe991cb076b240d290633cb5e44ef1879cb5 /networking/udhcp/libbb_udhcp.h | |
parent | 53ad366fe73b3598af6cfd133357a9ceb643c167 (diff) | |
download | busybox-w32-b628409b1e18aa6cdcf485077a3a64276e817db9.tar.gz busybox-w32-b628409b1e18aa6cdcf485077a3a64276e817db9.tar.bz2 busybox-w32-b628409b1e18aa6cdcf485077a3a64276e817db9.zip |
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.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/networking/udhcp/libbb_udhcp.h b/networking/udhcp/libbb_udhcp.h index 51e157142..0dae40172 100644 --- a/networking/udhcp/libbb_udhcp.h +++ b/networking/udhcp/libbb_udhcp.h | |||
@@ -27,6 +27,35 @@ | |||
27 | 27 | ||
28 | #define xfopen bb_xfopen | 28 | #define xfopen bb_xfopen |
29 | 29 | ||
30 | /* make safe the exported namespace */ | ||
31 | /* from common.h */ | ||
32 | #define background udhcp_background | ||
33 | #define start_log_and_pid udhcp_start_log_and_pid | ||
34 | /* from script.h */ | ||
35 | #define run_script udhcp_run_script | ||
36 | /* from packet.h */ | ||
37 | #define init_header udhcp_init_header | ||
38 | #define get_packet udhcp_get_packet | ||
39 | #define checksum udhcp_checksum | ||
40 | #define raw_packet udhcp_raw_packet | ||
41 | #define kernel_packet udhcp_kernel_packet | ||
42 | /* from pidfile.h */ | ||
43 | #define pidfile_acquire udhcp_pidfile_acquire | ||
44 | #define pidfile_write_release udhcp_pidfile_write_release | ||
45 | /* from options.h */ | ||
46 | #define get_option udhcp_get_option | ||
47 | #define end_option udhcp_end_option | ||
48 | #define add_option_string udhcp_add_option_string | ||
49 | #define add_simple_option udhcp_add_simple_option | ||
50 | #define option_lengths udhcp_option_lengths | ||
51 | /* from socket.h */ | ||
52 | #define listen_socket udhcp_listen_socket | ||
53 | #define read_interface udhcp_read_interface | ||
54 | /* from dhcpc.h */ | ||
55 | #define client_config udhcp_client_config | ||
56 | /* from dhcpd.h */ | ||
57 | #define server_config udhcp_server_config | ||
58 | |||
30 | #else /* ! BB_VER */ | 59 | #else /* ! BB_VER */ |
31 | 60 | ||
32 | #include <stdlib.h> | 61 | #include <stdlib.h> |