mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-05 05:18:53 +08:00
15 lines
223 B
C++
15 lines
223 B
C++
#pragma once
|
|
|
|
class black_list {
|
|
public:
|
|
black_list(void);
|
|
~black_list(void);
|
|
|
|
void add_list(const char* names);
|
|
bool is_blocked(const char* name) const;
|
|
|
|
private:
|
|
bool block_all_;
|
|
std::vector<acl::string> names_;
|
|
};
|