summaryrefslogtreecommitdiffstats
path: root/libutil/libutil.h
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2009-02-13 06:12:15 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2009-02-13 06:12:15 +0000
commit42719da795a6bbf13ac99c65f5829f8921f4dc88 (patch)
tree3071c66fcabd7d1a4a6a34b32827769dfdefac48 /libutil/libutil.h
parent24eddc3acfc05f6f0f1a2bb0d42072c7f4a425fc (diff)
downloadpw-darwin-42719da795a6bbf13ac99c65f5829f8921f4dc88.tar.gz
pw-darwin-42719da795a6bbf13ac99c65f5829f8921f4dc88.tar.zst
pw-darwin-42719da795a6bbf13ac99c65f5829f8921f4dc88.zip
Move hasquota() function to libutil.
Diffstat (limited to 'libutil/libutil.h')
-rw-r--r--libutil/libutil.h2
1 files changed, 2 insertions, 0 deletions
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