summaryrefslogtreecommitdiff
path: root/navit/mapset.h
diff options
context:
space:
mode:
Diffstat (limited to 'navit/mapset.h')
-rw-r--r--navit/mapset.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/navit/mapset.h b/navit/mapset.h
new file mode 100644
index 000000000..894dee123
--- /dev/null
+++ b/navit/mapset.h
@@ -0,0 +1,22 @@
+#ifndef NAVIT_MAPSET_H
+#define NAVIT_MAPSET_H
+
+/* prototypes */
+struct attr;
+struct item;
+struct map;
+struct mapset;
+struct mapset_handle;
+struct mapset_search;
+struct mapset *mapset_new(void);
+void mapset_add(struct mapset *ms, struct map *m);
+void mapset_destroy(struct mapset *ms);
+struct mapset_handle *mapset_open(struct mapset *ms);
+struct map *mapset_next(struct mapset_handle *msh, int active);
+void mapset_close(struct mapset_handle *msh);
+struct mapset_search *mapset_search_new(struct mapset *ms, struct item *item, struct attr *search_attr, int partial);
+struct item *mapset_search_get_item(struct mapset_search *this);
+void mapset_search_destroy(struct mapset_search *this);
+
+#endif
+