From 42719da795a6bbf13ac99c65f5829f8921f4dc88 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Fri, 13 Feb 2009 06:12:15 +0000 Subject: Move hasquota() function to libutil. --- libutil/libutil.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libutil/libutil.h') diff --git a/libutil/libutil.h b/libutil/libutil.h index 48ab218..7796de0 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -142,11 +142,13 @@ int pidfile_remove(struct pidfh *pfh); #ifdef _UFS_UFS_QUOTA_H_ struct quotafile; +struct fstab; struct quotafile *quota_open(const char *); struct quotafile *quota_create(const char *); void quota_close(struct quotafile *); int quota_read(struct quotafile *, struct dqblk *, int); int quota_write(struct quotafile *, const struct dqblk *, int); +int hasquota(struct fstab *, int, char **); #endif __END_DECLS -- cgit v1.2.3-56-ge451