Steven Rostedt (Red Hat) | cde164a | 2015-02-02 14:35:03 -0500 | [diff] [blame^] | 1 | #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 | |
| 15 | const char *find_mountpoint(const char *fstype, long magic, |
| 16 | char *mountpoint, int len, |
| 17 | const char * const *known_mountpoints); |
| 18 | |
| 19 | int valid_mountpoint(const char *mount, long magic); |
| 20 | |
| 21 | #endif /* __API_FINDFS_H__ */ |