summaryrefslogtreecommitdiff
path: root/config/include/hwd/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config/include/hwd/config.h')
-rw-r--r--config/include/hwd/config.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/include/hwd/config.h b/config/include/hwd/config.h
new file mode 100644
index 0000000..7f42cb5
--- /dev/null
+++ b/config/include/hwd/config.h
@@ -0,0 +1,18 @@
+#pragma once
+
+namespace hwd
+{
+namespace config
+{
+
+constexpr int default_port = 4236;
+constexpr const char * default_host = "127.0.0.1";
+
+constexpr const char * port_variable = "HWDPORT";
+constexpr const char * host_variable = "HWDHOST";
+
+int port();
+const char * host();
+
+} // namespace config
+} // namespace hwd