1 | #pragma once |
---|---|
2 | |
3 | // Definition of the class generated by gperf, present on gperf/tldLookup.gperf |
4 | class tldLookupHash |
5 | { |
6 | private: |
7 | static inline unsigned int hash (const char *str, size_t len); |
8 | public: |
9 | static const char *is_valid (const char *str, size_t len); |
10 | }; |
11 | |
12 | namespace DB |
13 | { |
14 | using tldLookup = tldLookupHash; |
15 | } |
16 |