diff options
| author | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-01-30 13:54:03 +0000 |
|---|---|---|
| committer | Dag-Erling Smørgrav <des@FreeBSD.org> | 2009-01-30 13:54:03 +0000 |
| commit | 24eddc3acfc05f6f0f1a2bb0d42072c7f4a425fc (patch) | |
| tree | 8026a314035326be8f2c5b1e99376d9bb58cc524 | |
| parent | 2dd5525fd5fa3d4c280133b37c73837bed20e5d3 (diff) | |
| download | pw-darwin-24eddc3acfc05f6f0f1a2bb0d42072c7f4a425fc.tar.gz pw-darwin-24eddc3acfc05f6f0f1a2bb0d42072c7f4a425fc.zip | |
WIP
| -rw-r--r-- | libutil/libutil.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/libutil/libutil.h b/libutil/libutil.h index 3187fb3..48ab218 100644 --- a/libutil/libutil.h +++ b/libutil/libutil.h @@ -140,6 +140,15 @@ int pidfile_close(struct pidfh *pfh); int pidfile_remove(struct pidfh *pfh); #endif +#ifdef _UFS_UFS_QUOTA_H_ +struct quotafile; +struct quotafile *quota_open(const char *); +struct quotafile *quota_create(const char *); +void quota_close(struct quotafile *); +int quota_read(struct quotafile *, struct dqblk *, int); +int quota_write(struct quotafile *, const struct dqblk *, int); +#endif + __END_DECLS #define UU_LOCK_INUSE (1) |
