ACPI / PNP: Avoid conflicting resource reservations
[linux/fpc-iii.git] / tools / lib / api / fs / findfs.h
blobb6f5d05acc4219c19253a158b03c48d13ae312ed
1 #ifndef __API_FINDFS_H__
2 #define __API_FINDFS_H__
4 #include <stdbool.h>
6 #define _STR(x) #x
7 #define STR(x) _STR(x)
9 /*
10 * On most systems <limits.h> would have given us this, but not on some systems
11 * (e.g. GNU/Hurd).
13 #ifndef PATH_MAX
14 #define PATH_MAX 4096
15 #endif
17 const char *find_mountpoint(const char *fstype, long magic,
18 char *mountpoint, int len,
19 const char * const *known_mountpoints);
21 int valid_mountpoint(const char *mount, long magic);
23 #endif /* __API_FINDFS_H__ */