diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-05-07 19:24:45 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-05-07 19:24:45 +0200 |
commit | 9e635d9b19e72eefef082dd8071d3e4c9d6cfab1 (patch) | |
tree | 4e205947bc1f6b62f743faf3312f3e1e7e77f647 /plugins/fcgi/fcgiid.h | |
parent | 1cc484b25547e349177cf652f62021b802f48655 (diff) |
Separated out TCP socket class
Diffstat (limited to 'plugins/fcgi/fcgiid.h')
-rw-r--r-- | plugins/fcgi/fcgiid.h | 18 |
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); +}; + + |