/* %Z%%M% %I% %E% */

/*
 * Copyright (c) 1990, 1991, 1995 by Wayne C. Gramlich.
 * All rights reserved.
 *
 * Permission to use, copy, modify, distribute, and sell this software
 * for any purpose is hereby granted without fee provided that the above
 * copyright notice and this permission are retained.  The author makes
 * no representations about the suitability of this software for any purpose.
 * It is provided "as is" without express or implied warranty.
 */

/* Key-value table implementation definitions: */

#ifndef TABLE_DEFS_H
#define TABLE_DEFS_H

#ifndef HASH_TYPES_H
#include "hash_types.h"
#endif

#ifndef TABLE_EXPORTS_H
#include "table_exports.h"
#endif

struct Tbl_pair_struct {
	Tbl_key		key;
	Tbl_value	value;
};

struct Tbl_struct {
	Hash(Tbl_pair)		hash;
	Tbl_value		handle;
	Heap			heap;
	Tbl_routine_equal	routine_equal;
	Tbl_routine_hash	routine_hash;
};

#endif /* TABLE_DEFS_H */
