summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/fcgiid.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/fcgi/fcgiid.h')
-rw-r--r--plugins/fcgi/fcgiid.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/plugins/fcgi/fcgiid.h b/plugins/fcgi/fcgiid.h
new file mode 100644
index 0000000..e3649d7
--- /dev/null
+++ b/plugins/fcgi/fcgiid.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include <cstdint>
+#include <set>
+
+class FCGI_ID
+{
+ std::set<uint16_t >m_unused;
+ uint16_t m_current_max{};
+
+public:
+ FCGI_ID(){}
+
+ uint16_t getID();
+ void putID(uint16_t id);
+};
+
+