summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authormckusick <mckusick@FreeBSD.org>2009-10-20 05:37:54 +0000
committermckusick <mckusick@FreeBSD.org>2009-10-20 05:37:54 +0000
commit964d09e0daea58d6f551b3f7dadc4d37efd2e70d (patch)
tree6b81c3a992a5d8314ac80c4f40d014fd587a60c2 /lib/libutil/libutil.h
parent0541f56541d9dcea9220421c4e7b5d348af5e15c (diff)
downloadFreeBSD-src-964d09e0daea58d6f551b3f7dadc4d37efd2e70d.zip
FreeBSD-src-964d09e0daea58d6f551b3f7dadc4d37efd2e70d.tar.gz
Add quota_maxid which returns the maximum user (or group) identifier
in an associated quotafile. Needed by repquota. Bug fix in quota_read.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index 2190a53..b5ff6fd 100644
--- a/lib/libutil/libutil.h
+++ b/lib/libutil/libutil.h
@@ -146,6 +146,7 @@ struct fstab;
struct quotafile *quota_open(struct fstab *, int, int);
const char *quota_fsname(const struct quotafile *);
const char *quota_qfname(const struct quotafile *);
+int quota_maxid(struct quotafile *);
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);
OpenPOWER on IntegriCloud