summaryrefslogtreecommitdiffhomepage
path: root/plugins/fcgi/fcgiid.h
blob: e3649d77141f748348b17ae33243823ffba33f6a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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);
};