/* the bottom three bits reserved for llapi_message_level */
#define LLAPI_MSG_MASK 0x00000007
-#define LLAPI_MSG_NO_ERRNO 0x00000010
+#define LLAPI_MSG_NO_ERRNO 0x00000010
/* liblustreapi.c */
extern void llapi_msg_set_level(int level);
extern int llapi_file_get_stripe(const char *path, struct lov_user_md *lum);
#define HAVE_LLAPI_FILE_LOOKUP
extern int llapi_file_lookup(int dirfd, const char *name);
-
+
struct find_param {
unsigned int maxdepth;
time_t atime;
extern int llapi_file_fget_lov_uuid(int fd, struct obd_uuid *lov_uuid);
extern int llapi_lov_get_uuids(int fd, struct obd_uuid *uuidp, int *ost_count);
extern int llapi_is_lustre_mnttype(const char *type);
+extern int llapi_get_obd_count(char *mnt, int *count, int is_mdt);
extern int parse_size(char *optarg, unsigned long long *size,
- unsigned long long *size_units);
+ unsigned long long *size_units, int bytes_spec);
extern int llapi_path2fid(const char *path, unsigned long long *seq,
unsigned long *oid, unsigned long *ver);
+extern void llapi_ping_target(char *obd_type, char *obd_name,
+ char *obd_uuid, void *args);
struct mntent;
#define HAVE_LLAPI_IS_LUSTRE_MNT
extern int llapi_rgetfacl(int argc, char *argv[]);
extern int llapi_cp(int argc, char *argv[]);
extern int llapi_ls(int argc, char *argv[]);
+extern int llapi_changelog_open(const char *mdtname, long long startrec);
+extern int llapi_changelog_clear(const char *mdtname, long long endrec);
+struct lu_fid;
+extern int llapi_fid2path(char *device, char *fid, char *path, int pathlen,
+ __u64 recno, int *linkno);
#endif
+