diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-17 23:51:35 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-17 23:51:35 +0000 |
commit | bc8ba059b9463d21112510325700db0c7a50df3f (patch) | |
tree | 02fc41a5c1944642c336871d167210aad1385518 /include | |
parent | 11f73970236f910a63ff77fbc8e2ee4a8ee23bc3 (diff) |
Fix this so it works, passes test case. Provide a method to query for a bit and to return the total size in bytes of the bitset
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5758 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/hashcomp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h index 4a5dd72ad..73d9f53f2 100644 --- a/include/hashcomp.h +++ b/include/hashcomp.h @@ -376,6 +376,10 @@ namespace irc bool Deallocate(bitfield &pos); void Toggle(bitfield &pos, bool state); + + bool Get(bitfield &pos); + + size_t GetSize(); }; /** The irc_char_traits class is used for RFC-style comparison of strings. |