/*
 * Copyright (c) 2005 Sendmail, Inc. and its suppliers.
 *      All rights reserved.
 *
 * By using this file, you agree to the terms and conditions set
 * forth in the LICENSE file which can be found at the top level of
 * the sendmail distribution.
 *
 *	$Id: heapdbg.h,v 1.3 2005/06/17 20:34:43 ca Exp $
 */

#ifndef HEAPDBG_H
#define HEAPDBG_H 1

#include "sm/generic.h"
#include "sm/types.h"

#define SM_HEAP_TABLE_SIZE	256

typedef struct sm_heap_item sm_heap_item_T;
struct sm_heap_item
{
	void		*hi_ptr;
	size_t		 hi_size;
	char		*hi_tag;
	int		 hi_num;
	int		 hi_group;
	sm_heap_item_T	*hi_next;
};

int ptrhash(void *_p);

#endif /* HEAPDBG_H */


syntax highlighted by Code2HTML, v. 0.9.1