aboutsummaryrefslogtreecommitdiff
path: root/sbin/mount/mntopts.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-11-25 13:31:46 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-11-25 13:31:46 +0000
commit3e7c7ae093ed387a7c9713449a01a562a0e2dffc (patch)
treeaae1513bab9f0ad597e43782aa70d0ade6c2903b /sbin/mount/mntopts.h
parent53805858d25ba78d69adafd168e04aa6caf09e68 (diff)
downloadsrc-3e7c7ae093ed387a7c9713449a01a562a0e2dffc.tar.gz
src-3e7c7ae093ed387a7c9713449a01a562a0e2dffc.zip
Add a convenience function for building nmount iov arrays.
Notes
Notes: svn path=/head/; revision=138095
Diffstat (limited to 'sbin/mount/mntopts.h')
-rw-r--r--sbin/mount/mntopts.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/mount/mntopts.h b/sbin/mount/mntopts.h
index 7fd807613d6b..5205195fd3f1 100644
--- a/sbin/mount/mntopts.h
+++ b/sbin/mount/mntopts.h
@@ -92,3 +92,4 @@ void getmntopts(const char *, const struct mntopt *, int *, int *);
void rmslashes(char *, char *);
void checkpath(const char *, char resolved_path[]);
extern int getmnt_silent;
+void build_iovec(struct iovec **iov, int *iovlen, const char *name, void *val, int len);