1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2 * vim:expandtab:shiftwidth=8:tabstop=8:
4 * This file is part of Lustre, http://www.lustre.org
6 #ifndef _LIBLUSTREAPI_H_
7 #define _LIBLUSTREAPI_H_
9 #include <lustre/lustre_user.h>
12 extern int llapi_file_create(char *name, long stripe_size, int stripe_offset,
13 int stripe_count, int stripe_pattern);
14 extern int llapi_file_get_stripe(char *path, struct lov_user_md *lum);
15 extern int llapi_find(char *path, struct obd_uuid *obduuid, int recursive,
16 int verbose, int quiet);
17 extern int llapi_ping(char *obd_type, char *obd_name);
18 extern int llapi_target_check(int num_types, char **obd_types, char *dir);
19 extern int llapi_catinfo(char *dir, char *keyword, char *node_name);
20 extern int llapi_lov_get_uuids(int fd, struct obd_uuid *uuidp, int *ost_count);
21 extern int llapi_is_lustre_mnttype(char *type);
22 extern int llapi_quotacheck(char *mnt, int check_type);
23 extern int llapi_poll_quotacheck(char *mnt, struct if_quotacheck *qchk);
24 extern int llapi_quotactl(char *mnt, struct if_quotactl *qctl);
25 extern int llapi_quotachog(char *path, int flag);