aboutsummaryrefslogtreecommitdiff
path: root/lib/xalloc.h
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2015-07-08 20:46:52 -0400
commitfa080de7afc95aa1c19a6e6fc0e0708ced2eadc4 (patch)
treebdda434976bc09c864f2e4fa6f16ba1952b1e555 /lib/xalloc.h
downloadiraf-linux-fa080de7afc95aa1c19a6e6fc0e0708ced2eadc4.tar.gz
Initial commit
Diffstat (limited to 'lib/xalloc.h')
-rw-r--r--lib/xalloc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/xalloc.h b/lib/xalloc.h
new file mode 100644
index 00000000..3dee2c04
--- /dev/null
+++ b/lib/xalloc.h
@@ -0,0 +1,6 @@
+# XALLOC.H -- Defines for xalloc.x (the device allocation package).
+
+define DV_DEVFREE 1 # device is free and can be allocated
+define DV_DEVALLOC 2 # device is already allocated
+define DV_DEVINUSE 3 # device is in use by someone else
+define DV_DEVNOTFOUND 4 # device not in device table