acl/app/wizard_demo/dns-gate/service/black_list.h
2022-05-02 16:13:10 +08:00

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_;
};