From 54efd5d05cbd9beaa18b0f24dd1a47823d6537d8 Mon Sep 17 00:00:00 2001 From: Kirk McKusick Date: Tue, 20 Oct 2009 05:37:54 +0000 Subject: Add quota_maxid which returns the maximum user (or group) identifier in an associated quotafile. Needed by repquota. Bug fix in quota_read. --- libutil/libutil.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libutil') diff --git a/libutil/libutil.h b/libutil/libutil.h index 2190a53..b5ff6fd 100644 --- a/libutil/libutil.h +++ b/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); -- cgit v1.2.3