aboutsummaryrefslogtreecommitdiff
path: root/include/libbb.h
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2006-09-11 17:42:44 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2006-09-11 17:42:44 +0000
commit00d7d6cef6419654071ccc77d9b2f212198dab3d (patch)
treedd597506d203700ee8bdab93e5467cac0e2a1712 /include/libbb.h
parent64d7e93081141cb6f1668436a5629a2304047f38 (diff)
downloadbusybox-00d7d6cef6419654071ccc77d9b2f212198dab3d.tar.gz
nfsmount: sanitize it. It had a rather peculiar idea of implementing "bg"
option - it was going to return a special flag back to caller and expecting caller to call it again with special parameter! Also caller was charged with calling mount() syscall... mount: mtab support was non-functional. Enabling it revealed serious bug which is not fixed yet.
Diffstat (limited to 'include/libbb.h')
-rw-r--r--include/libbb.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index 6e136ab7b..cb39e7b3f 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -303,8 +303,8 @@ extern int set_loop(char **device, const char *file, int offset);
extern int vdprintf(int d, const char *format, va_list ap);
#endif
-int nfsmount(const char *spec, const char *node, int *flags,
- char **mount_opts, int running_bg);
+int mount_it_now(struct mntent *mp, int vfsflags, char *filteropts);
+int nfsmount(struct mntent *mp, int vfsflags, char *filteropts);
/* Include our own copy of struct sysinfo to avoid binary compatibility
* problems with Linux 2.4, which changed things. Grumble, grumble. */