-/* -------------------------------------------------------------------
- * $Id$
- * -------------------------------------------------------------------
- * Datentyp: Vereinfachte Map (hash-map) zum Speichern von
- * Zeigern/Adressen -> Zeigern/Adressen.
- *
- * Erstellt: Hubert Schmid, 09.06.2002
- * ---------------------------------------------------------------- */
-
+/*
+ * Project: libFIRM
+ * File name: ir/adt/eset.c
+ * Purpose: Datentyp: Vereinfachte Map (hash-map) zum Speichern von
+ * Zeigern/Adressen -> Zeigern/Adressen.
+ * Author: Hubert Schmid
+ * Modified by:
+ * Created: 09.06.2002
+ * CVS-ID: $Id$
+ * Copyright: (c) 2002 Universität Karlsruhe
+ * Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
+ */
#ifndef _PMAP_H_
#define _PMAP_H_
-
-#include "bool.h"
-
-
/* Map die Adressen auf Adressen abbildet. Der Vergleich und das
* Hashen findet über die Adresse statt. */
void pmap_insert(pmap *, void * key, void * value);
/* Prüft ob ein Eintrag zu "key" exisitiert. */
-bool pmap_contains(pmap *, void * key);
+int pmap_contains(pmap *, void * key);
/* Gibt den Eintrag zu "key" zurück. */
pmap_entry * pmap_find(pmap *, void * key);
pmap_entry * pmap_first(pmap *);
pmap_entry * pmap_next(pmap *);
+void pmap_break(pmap *map);
#endif /* _PMAP_H_ */