diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-09-26 23:16:06 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-09-26 23:16:06 +0000 |
| commit | faf6ae0a78a2116b5e28fea7054179c32ade8ea1 (patch) | |
| tree | 062077daa38339c682481d4a6a8c540cf101576b /libutil | |
| parent | 0c64a86be7a0a1b3a4d107a32f8ebcc64ffcb474 (diff) | |
| download | pw-darwin-faf6ae0a78a2116b5e28fea7054179c32ade8ea1.tar.gz pw-darwin-faf6ae0a78a2116b5e28fea7054179c32ade8ea1.zip | |
Further extend the quotafile API.
Diffstat (limited to 'libutil')
| -rw-r--r-- | libutil/libutil.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index afd5db6..2190a53 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -144,10 +144,13 @@ int pidfile_remove(struct pidfh *pfh); struct quotafile; struct fstab; struct quotafile *quota_open(struct fstab *, int, int); -void quota_close(struct quotafile *); +const char *quota_fsname(const struct quotafile *); +const char *quota_qfname(const 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); int quota_write_usage(struct quotafile *, struct dqblk *, int); +void quota_close(struct quotafile *); #endif __END_DECLS |
