summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2009-02-13 06:12:15 +0000
committermckusick <mckusick@FreeBSD.org>2009-02-13 06:12:15 +0000
commit44bede95eb16d0f75fcfc75671147d1a91773c00 (patch)
tree9ae3ac009f27dbb0491aa641ac8bf6c0e15aba8c /lib/libutil/libutil.h
parent69ccea269cc97b0dc407dfb7aa6ba58ce2e98b3a (diff)
downloadFreeBSD-src-44bede95eb16d0f75fcfc75671147d1a91773c00.zip
FreeBSD-src-44bede95eb16d0f75fcfc75671147d1a91773c00.tar.gz
Move hasquota() function to libutil.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 48ab218..7796de0 100644
--- a/lib/libutil/libutil.h
+++ b/lib/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
OpenPOWER on IntegriCloud