2 * utils.h -- misc utils for mount and umount
4 * Copyright (C) 2010 Karel Zak <kzak@redhat.com>
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.
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.
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
23 #ifndef _NFS_UTILS_MOUNT_UTILS_H
24 #define _NFS_UTILS_MOUNT_UTILS_H
26 #include "parse_opt.h"
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);
34 int nfs_umount23(const char *devname, char *string);
36 #endif /* !_NFS_UTILS_MOUNT_UTILS_H */