blob: 9e7d876791e11a1c0d62ca4cac9d3fd1eaf6cd72 [file] [log] [blame]
Steven Rostedt (Red Hat)cde164a2015-02-02 14:35:03 -05001#ifndef __API_FINDFS_H__
2#define __API_FINDFS_H__
3
4#define _STR(x) #x
5#define STR(x) _STR(x)
6
7/*
8 * On most systems <limits.h> would have given us this, but not on some systems
9 * (e.g. GNU/Hurd).
10 */
11#ifndef PATH_MAX
12#define PATH_MAX 4096
13#endif
14
15const char *find_mountpoint(const char *fstype, long magic,
16 char *mountpoint, int len,
17 const char * const *known_mountpoints);
18
19int valid_mountpoint(const char *mount, long magic);
20
21#endif /* __API_FINDFS_H__ */