switch to coroutine execution model
This commit is contained in:
+1
-1
@@ -1,5 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
#include <asio.hpp>
|
||||
#include <phosg/JSON.hh>
|
||||
#include <set>
|
||||
|
||||
@@ -11,7 +12,6 @@ public:
|
||||
phosg::JSON json() const;
|
||||
|
||||
bool check(uint32_t addr) const;
|
||||
bool check(const struct sockaddr_storage& ss) const;
|
||||
|
||||
protected:
|
||||
std::map<uint32_t, uint8_t> ranges; // {addr: mask_bits}
|
||||
|
||||
Reference in New Issue
Block a user