summaryrefslogtreecommitdiff
path: root/src/include/skalibs/diuint.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/skalibs/diuint.h')
-rw-r--r--src/include/skalibs/diuint.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/include/skalibs/diuint.h b/src/include/skalibs/diuint.h
new file mode 100644
index 0000000..1c13bd8
--- /dev/null
+++ b/src/include/skalibs/diuint.h
@@ -0,0 +1,15 @@
+/* ISC license. */
+
+#ifndef DIUINT_H
+#define DIUINT_H
+
+typedef struct diuint diuint, *diuint_ref ;
+struct diuint
+{
+ unsigned int left ;
+ unsigned int right ;
+} ;
+
+#define DIUINT_ZERO { .left = 0, .right = 0 }
+
+#endif