lib/misc/list_table.h
changeset 0 6f7a81934006
equal deleted inserted replaced
-1:000000000000 0:6f7a81934006
       
     1 #ifndef VMAILMGR__LIST_TABLE__H__
       
     2 #define VMAILMGR__LIST_TABLE__H__
       
     3 
       
     4 #include "misc/hash_table.h"
       
     5 #include "misc/crc_hash.h"
       
     6 #include "mystring/mystring.h"
       
     7 
       
     8 class list_table : public hash_table<bool,hash_node<bool>,crc_hash>
       
     9 {
       
    10   bool valid;
       
    11 public:
       
    12   list_table(const mystring& filename);
       
    13   ~list_table();
       
    14   bool operator!() const
       
    15     {
       
    16       return !valid;
       
    17     }
       
    18 };
       
    19 
       
    20 #endif