Whamcloud - gitweb
Landing b1_4_quotaoff to b1_4
[fs/lustre-release.git] / lustre / include / lustre / liblustreapi.h
1 /* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
2  * vim:expandtab:shiftwidth=8:tabstop=8:
3  *
4  *   This file is part of Lustre, http://www.lustre.org
5  */
6 #ifndef _LIBLUSTREAPI_H_
7 #define _LIBLUSTREAPI_H_
8
9 #include <lustre/lustre_user.h>
10
11 /* liblustreapi.c */
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);
26 #endif