diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2009-01-27 17:43:29 -0500 |
---|---|---|
committer | Steve Dickson <steved@redhat.com> | 2009-01-27 17:43:29 -0500 |
commit | ff4f8ea366103d9b82cd2d9f8ced2426215d62b4 (patch) | |
tree | 91da84a3a1dc412d7b160644e37a7c988a44ccb2 /utils/mount/network.h | |
parent | 0dcb83a870926de215307472676096056dabc9b0 (diff) | |
download | nfs-utils-ff4f8ea366103d9b82cd2d9f8ced2426215d62b4.tar.gz nfs-utils-ff4f8ea366103d9b82cd2d9f8ced2426215d62b4.tar.xz nfs-utils-ff4f8ea366103d9b82cd2d9f8ced2426215d62b4.zip |
text-based mount command: Function to stuff "struct pmap" from mount options
Both the text-based mount.nfs command and the umount.nfs command need
to fill in a pmap structure based on string mount options. Introduce
a shared function that can do this.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'utils/mount/network.h')
-rw-r--r-- | utils/mount/network.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/mount/network.h b/utils/mount/network.h index 075093d..25060ab 100644 --- a/utils/mount/network.h +++ b/utils/mount/network.h @@ -57,6 +57,11 @@ int clnt_ping(struct sockaddr_in *, const unsigned long, const unsigned long, const unsigned int, struct sockaddr_in *); +struct mount_options; + +void nfs_options2pmap(struct mount_options *, + struct pmap *, struct pmap *); + int start_statd(void); unsigned long nfsvers_to_mnt(const unsigned long); |