aboutsummaryrefslogtreecommitdiff
path: root/lib/dhcp/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dhcp/types.h')
-rw-r--r--lib/dhcp/types.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/dhcp/types.h b/lib/dhcp/types.h
new file mode 100644
index 0000000..049de0f
--- /dev/null
+++ b/lib/dhcp/types.h
@@ -0,0 +1,14 @@
+// Copyright (c) 2022 Johannes Stoelp
+
+#ifndef TYPES_H
+#define TYPES_H
+
+#include <cstddef>
+#include <cstdint>
+
+using u8 = uint8_t;
+using u16 = uint16_t;
+using u32 = uint32_t;
+using usize = size_t;
+
+#endif