summaryrefslogtreecommitdiff
path: root/src/include/skalibs/devino.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/skalibs/devino.h')
-rw-r--r--src/include/skalibs/devino.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/include/skalibs/devino.h b/src/include/skalibs/devino.h
new file mode 100644
index 0000000..b4feaf3
--- /dev/null
+++ b/src/include/skalibs/devino.h
@@ -0,0 +1,18 @@
+/* ISC license. */
+
+#ifndef SKALIBS_DEVINO_H
+#define SKALIBS_DEVINO_H
+
+#include <sys/types.h>
+
+typedef struct devino_s devino, *devino_ref ;
+struct devino_s
+{
+ dev_t dev ;
+ ino_t ino ;
+} ;
+#define DEVINO_ZERO { .dev = 0, .ino = 0 }
+
+extern int devino_cmp (void const *, void const *) ;
+
+#endif