| changeset 0 | 6f7a81934006 |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lib/misc/list_table.h Wed Jan 16 22:39:43 2008 +0100 @@ -0,0 +1,20 @@ +#ifndef VMAILMGR__LIST_TABLE__H__ +#define VMAILMGR__LIST_TABLE__H__ + +#include "misc/hash_table.h" +#include "misc/crc_hash.h" +#include "mystring/mystring.h" + +class list_table : public hash_table<bool,hash_node<bool>,crc_hash> +{ + bool valid; +public: + list_table(const mystring& filename); + ~list_table(); + bool operator!() const + { + return !valid; + } +}; + +#endif