summaryrefslogtreecommitdiff
path: root/src/bridge/history_limit.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bridge/history_limit.hpp')
-rw-r--r--src/bridge/history_limit.hpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bridge/history_limit.hpp b/src/bridge/history_limit.hpp
new file mode 100644
index 0000000..9c75256
--- /dev/null
+++ b/src/bridge/history_limit.hpp
@@ -0,0 +1,8 @@
+#pragma once
+
+// Default values means no limit
+struct HistoryLimit
+{
+ int stanzas{-1};
+ std::string since{};
+};