/* Copyright (c) 2001, 2004 Alex Leigh, All Rights Reserved 
 *
 * THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF ALEX LEIGH
 * The copyright notice above does not evidence any
 * actual or intended publication of such source code.
 *
 * Use, disclosure, copying, distribution, or transmission of
 * this code without express permission is prohibited.
 */

/*
 * the interfaces in this file are deprecated and should not be used
 * for new development. They are provided as a trasitional API for
 * backwards compatibility with mk3.
 */

#ifndef MECHA_DEP_H
#define MECHA_DEP_H

#ifdef __cplusplus
extern "C" {
#endif

#ifndef _HSH_DEP_C
#define hshTlist void
#define hshTentry void
#define hshTnode void
#endif
hshTnode *hshFlist_node_find (hshTlist * list, char *name);
hshTentry *hshFlist_find_entry (hshTlist * list, char *nname, char *ename);
hshTlist *hshFlist_create (void);
hshTentry *hshFlist_entry_insert (hshTlist * list, char *l, char *n, char *v);
hshTentry *hshFnode_find_entry (hshTnode * node, char *str);
char *hshFnode_find_value (hshTnode * node, char *str);
void hshFnode_free (hshTnode * node);
hshTnode *hshFnode_create (char *name);
void hshFnode_entry_add (hshTnode * n, hshTentry * e);
hshTnode *hshFnode_entry_alloc (void);
hshTentry *hshFnode_entry_insert (hshTnode * node, char *n, char *v);
void hshFlist_node_add (hshTlist * list, hshTnode * node);
void hshFentry_free (hshTentry * entry);
void hashFlist_dump (hshTlist * list, unsigned int len);

#ifdef __cplusplus
};
#endif
#endif
