diff options
author | Denis Vlasenko | 2006-12-26 17:40:33 +0000 |
---|---|---|
committer | Denis Vlasenko | 2006-12-26 17:40:33 +0000 |
commit | 270c17c0e66ffe9fe0e47e891a583b5c6f8512ef (patch) | |
tree | a4ba5d3f63cec034bb24507e123a63d4fda581b6 /include/libbb.h | |
parent | 3ef70d43adfa3eb0f74fefd72d05578b3e332b76 (diff) | |
download | busybox-270c17c0e66ffe9fe0e47e891a583b5c6f8512ef.zip busybox-270c17c0e66ffe9fe0e47e891a583b5c6f8512ef.tar.gz |
properly export externs thru *.h files
Diffstat (limited to 'include/libbb.h')
-rw-r--r-- | include/libbb.h | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h index 68e4851..858adca 100644 --- a/include/libbb.h +++ b/include/libbb.h @@ -400,6 +400,15 @@ extern int bb_cat(char** argv); extern int bb_echo(char** argv); extern int bb_test(int argc, char** argv); + +/* Networking */ +int create_icmp_socket(void); +int create_icmp6_socket(void); +/* interface.c */ +extern int interface_opt_a; +int display_interfaces(char *ifname); + + #ifndef BUILD_INDIVIDUAL extern struct BB_applet *find_applet_by_name(const char *name); extern void run_applet_by_name(const char *name, int argc, char **argv); @@ -438,8 +447,6 @@ int exists_execable(const char *filename); USE_DESKTOP(long long) int uncompress(int fd_in, int fd_out); int inflate(int in, int out); -int create_icmp_socket(void); -int create_icmp6_socket(void); unsigned short bb_lookup_port(const char *port, const char *protocol, unsigned short default_port); void bb_lookup_host(struct sockaddr_in *s_in, const char *host); |