summaryrefslogtreecommitdiff
path: root/dqblk_v1.h
diff options
context:
space:
mode:
Diffstat (limited to 'dqblk_v1.h')
-rw-r--r--dqblk_v1.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/dqblk_v1.h b/dqblk_v1.h
new file mode 100644
index 0000000..409a70c
--- /dev/null
+++ b/dqblk_v1.h
@@ -0,0 +1,18 @@
+/*
+ * Headerfile for old quotafile format
+ */
+
+#ifndef _DQBLK_V1_H
+#define _DQBLK_V1_H
+
+/* Values of quota calls */
+#define Q_V1_RSQUASH 0x1000
+#define Q_V1_GETQUOTA 0x300
+#define Q_V1_SETQUOTA 0x400
+
+struct quotafile_ops; /* Will be defined later in quotaio.h */
+
+/* Operations above this format */
+extern struct quotafile_ops quotafile_ops_1;
+
+#endif