| 87 | }; |
| 88 | |
| 89 | template<class T> struct CBan |
| 90 | { |
| 91 | T m_Data; |
| 92 | CBanInfo m_Info; |
| 93 | CNetHash m_NetHash; |
| 94 | |
| 95 | // hash list |
| 96 | CBan *m_pHashNext; |
| 97 | CBan *m_pHashPrev; |
| 98 | |
| 99 | // used or free list |
| 100 | CBan *m_pNext; |
| 101 | CBan *m_pPrev; |
| 102 | }; |
| 103 | |
| 104 | template<class T, int HashCount> class CBanPool |
| 105 | { |
nothing calls this directly
no outgoing calls
no test coverage detected