summaryrefslogtreecommitdiffstats
path: root/lib/libutil/libutil.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2009-09-26 23:16:06 +0000
committerdes <des@FreeBSD.org>2009-09-26 23:16:06 +0000
commita45436ee4714833a11bf829d86620ac727a0d501 (patch)
tree0816e10ab8fbd7ed1c706af2ca3a7f07ca804880 /lib/libutil/libutil.h
parent99096894824ebaad6bc1c96245f72c97bfc37564 (diff)
downloadFreeBSD-src-a45436ee4714833a11bf829d86620ac727a0d501.zip
FreeBSD-src-a45436ee4714833a11bf829d86620ac727a0d501.tar.gz
Further extend the quotafile API.
Diffstat (limited to 'lib/libutil/libutil.h')
-rw-r--r--lib/libutil/libutil.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libutil/libutil.h b/lib/libutil/libutil.h
index afd5db6..2190a53 100644
--- a/lib/libutil/libutil.h
+++ b/lib/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
OpenPOWER on IntegriCloud