summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKirk McKusick <mckusick@FreeBSD.org>2009-10-20 05:37:54 +0000
committerKirk McKusick <mckusick@FreeBSD.org>2009-10-20 05:37:54 +0000
commit54efd5d05cbd9beaa18b0f24dd1a47823d6537d8 (patch)
tree2e277ac1ff796ddb82956fcebb8bc3e562bf96bf
parentfaf6ae0a78a2116b5e28fea7054179c32ade8ea1 (diff)
downloadpw-darwin-54efd5d05cbd9beaa18b0f24dd1a47823d6537d8.tar.gz
pw-darwin-54efd5d05cbd9beaa18b0f24dd1a47823d6537d8.zip
Add quota_maxid which returns the maximum user (or group) identifier
in an associated quotafile. Needed by repquota. Bug fix in quota_read.
-rw-r--r--libutil/libutil.h1
1 files changed, 1 insertions, 0 deletions
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);