#ifndef _LUSTREAPI_INTERNAL_H_
#define _LUSTREAPI_INTERNAL_H_
-#include <glob.h>
+#include <libcfs/util/param.h>
#include <uapi_kernelcomm.h>
#define WANT_PATH 0x1
#define WANT_FD 0x4
#define WANT_INDEX 0x8
#define WANT_ERROR 0x10
+
+/* mount point listings in /proc/mounts */
+#ifndef PROC_MOUNTS
+#define PROC_MOUNTS "/proc/mounts"
+#endif
+
int get_root_path(int want, char *fsname, int *outfd, char *path, int index);
int root_ioctl(const char *mdtname, int opc, void *data, int *mdtidxp,
int want_error);
* path as is.
*/
enum param_filter {
+ FILTER_BY_NONE,
FILTER_BY_EXACT,
FILTER_BY_FS_NAME,
FILTER_BY_PATH
int libcfs_ukuc_get_rfd(struct lustre_kernelcomm *link);
int libcfs_ukuc_msg_get(struct lustre_kernelcomm *l, char *buf, int maxsize,
int transport);
-
#endif /* _LUSTREAPI_INTERNAL_H_ */