summaryrefslogtreecommitdiff
path: root/quotaops.h
diff options
context:
space:
mode:
authorjkar8572 <jkar8572>2001-03-23 12:03:26 +0000
committerjkar8572 <jkar8572>2001-03-23 12:03:26 +0000
commit869fe242340fefe0540fdcf51698ba4c3c8c07bb (patch)
tree950fa3f5997c1e8ee68c0f17d4eaf17abef64f34 /quotaops.h
Initial revision
Diffstat (limited to 'quotaops.h')
-rw-r--r--quotaops.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/quotaops.h b/quotaops.h
new file mode 100644
index 0000000..da28bde
--- /dev/null
+++ b/quotaops.h
@@ -0,0 +1,16 @@
+#ifndef _QUOTAOPS_H
+#define _QUOTAOPS_H
+
+#include "quotaio.h"
+
+__BEGIN_DECLS extern struct dquot *getprivs __P((qid_t id, struct quota_handle ** handles));
+extern int putprivs __P((struct dquot * qlist));
+extern int editprivs __P((char *tmpfile));
+extern int writeprivs __P((struct dquot * qlist, int outfd, char *name, int quotatype));
+extern int readprivs __P((struct dquot * qlist, int infd));
+extern int writetimes __P((struct quota_handle ** handles, int outfd));
+extern int readtimes __P((struct quota_handle ** handles, int infd));
+extern void freeprivs __P((struct dquot * qlist));
+
+__END_DECLS
+#endif /* _QUOTAOPS_H */