summaryrefslogtreecommitdiff
path: root/sys/miscfs/tcfs/tcfs_cmd.h
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>2000-06-17 17:16:08 +0000
committerNiels Provos <provos@cvs.openbsd.org>2000-06-17 17:16:08 +0000
commit883d8fd44467302c3565033377329596ff584353 (patch)
tree6a4fab996854c794c5bbb82961a34807efb5bdb0 /sys/miscfs/tcfs/tcfs_cmd.h
parente5891f818a179b348802443c30c18b6ab4adfed8 (diff)
initial import of tcfs.
Diffstat (limited to 'sys/miscfs/tcfs/tcfs_cmd.h')
-rw-r--r--sys/miscfs/tcfs/tcfs_cmd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/sys/miscfs/tcfs/tcfs_cmd.h b/sys/miscfs/tcfs/tcfs_cmd.h
new file mode 100644
index 00000000000..a4b7d841dbc
--- /dev/null
+++ b/sys/miscfs/tcfs/tcfs_cmd.h
@@ -0,0 +1,17 @@
+/* tcfs commands */
+#define TCFS_PUT_UIDKEY 1
+#define TCFS_RM_UIDKEY 2
+#define TCFS_PUT_PIDKEY 3
+#define TCFS_RM_PIDKEY 4
+#define TCFS_PUT_GIDKEY 5
+#define TCFS_RM_GIDKEY 6
+#define TCFS_GET_STATUS 7
+
+/* tcfs errors */
+#define TCFS_OK 0
+#define UNKNOWN_COMMAND 1
+#define BAD_CIPHER_NUMBER 2
+#define PUSHKEY_ERROR 3
+#define RMKEY_ERROR 3
+#define ALLOCATION_FAILED 4
+