Rev 1787 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1787 | Rev 1866 | ||
---|---|---|---|
Line 24... | Line 24... | ||
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
24 | * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
25 | * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
26 | * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
27 | */ |
27 | */ |
28 | 28 | ||
29 | /** @addtogroup libc |
29 | /** @addtogroup libc |
30 | * @{ |
30 | * @{ |
31 | */ |
31 | */ |
32 | /** @file |
32 | /** @file |
33 | */ |
33 | */ |
34 | 34 | ||
35 | #ifndef __HASH_TABLE_H__ |
35 | #ifndef LIBC_HASH_TABLE_H_ |
36 | #define __HASH_TABLE_H__ |
36 | #define LIBC_HASH_TABLE_H_ |
37 | 37 | ||
38 | #include <libadt/list.h> |
38 | #include <libadt/list.h> |
39 | #include <unistd.h> |
39 | #include <unistd.h> |
40 | 40 | ||
41 | typedef unsigned long hash_count_t; |
41 | typedef unsigned long hash_count_t; |
Line 83... | Line 83... | ||
83 | extern link_t *hash_table_find(hash_table_t *h, unsigned long key[]); |
83 | extern link_t *hash_table_find(hash_table_t *h, unsigned long key[]); |
84 | extern void hash_table_remove(hash_table_t *h, unsigned long key[], hash_count_t keys); |
84 | extern void hash_table_remove(hash_table_t *h, unsigned long key[], hash_count_t keys); |
85 | 85 | ||
86 | #endif |
86 | #endif |
87 | 87 | ||
88 | - | ||
89 | /** @} |
88 | /** @} |
90 | */ |
89 | */ |
91 | - | ||
92 | - |