summaryrefslogtreecommitdiffstats
path: root/libutil
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2009-11-16 18:59:04 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2009-11-16 18:59:04 +0000
commit438fcefe6b5c844b32c171a6487383fdc0f5cc8d (patch)
tree286a8195ad0851f85fc35b1f0bba0191e22a5d0d /libutil
parent54efd5d05cbd9beaa18b0f24dd1a47823d6537d8 (diff)
downloadpw-darwin-438fcefe6b5c844b32c171a6487383fdc0f5cc8d.tar.gz
pw-darwin-438fcefe6b5c844b32c171a6487383fdc0f5cc8d.tar.zst
pw-darwin-438fcefe6b5c844b32c171a6487383fdc0f5cc8d.zip
Add and document new quoat_on and quota_off functions.
Diffstat (limited to 'libutil')
-rw-r--r--libutil/libutil.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h
index b5ff6fd..3a05d9b 100644
--- a/libutil/libutil.h
+++ b/libutil/libutil.h
@@ -144,6 +144,9 @@ int pidfile_remove(struct pidfh *pfh);
struct quotafile;
struct fstab;
struct quotafile *quota_open(struct fstab *, int, int);
+void quota_close(struct quotafile *);
+int quota_on(struct quotafile *);
+int quota_off(struct quotafile *);
const char *quota_fsname(const struct quotafile *);
const char *quota_qfname(const struct quotafile *);
int quota_maxid(struct quotafile *);
@@ -151,7 +154,6 @@ int quota_check_path(const struct quotafile *, const char *path);
int quota_read(struct quotafile *, struct dqblk *, int);
int quota_write_limits(struct quotafile *, struct dqblk *, int);
int quota_write_usage(struct quotafile *, struct dqblk *, int);
-void quota_close(struct quotafile *);
#endif
__END_DECLS