]> git.decadent.org.uk Git - nfs-utils.git/blob - utils/mount/utils.h
nfsidmap: Added Error Logging
[nfs-utils.git] / utils / mount / utils.h
1 /*
2  * utils.h -- misc utils for mount and umount
3  *
4  * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
5  *
6  * This program is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU General Public
8  * License as published by the Free Software Foundation; either
9  * version 2 of the License, or (at your option) any later version.
10  *
11  * This program is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public
17  * License along with this program; if not, write to the
18  * Free Software Foundation, Inc.,
19  * 51 Franklin Street, Fifth Floor, Boston, MA 0211-1301 USA
20  *
21  */
22
23 #ifndef _NFS_UTILS_MOUNT_UTILS_H
24 #define _NFS_UTILS_MOUNT_UTILS_H
25
26 #include "parse_opt.h"
27
28 int discover_nfs_mount_data_version(int *string_ver);
29 void print_one(char *spec, char *node, char *type, char *opts);
30 void mount_usage(void);
31 void umount_usage(void);
32 int chk_mountpoint(const char *mount_point);
33
34 int nfs_umount23(const char *devname, char *string);
35
36 #endif  /* !_NFS_UTILS_MOUNT_UTILS_H */