diff options
author | tegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-19 22:22:12 +0000 |
---|---|---|
committer | tegzed <tegzed@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2011-03-19 22:22:12 +0000 |
commit | 8b9d704e01ac33d16972ad6ab71d8d6b350fa12e (patch) | |
tree | 85963d1a3566c89c05e8aea0d3fdfea17374887d /navit/mapset.h | |
parent | 444e54ef8c640ecaf29becacc67d4abf3e259451 (diff) | |
download | navit-8b9d704e01ac33d16972ad6ab71d8d6b350fa12e.tar.gz |
Add:core: - Added reference counting map destruction mechanism
- Added item creation function to the map interface
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@4370 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/mapset.h')
-rw-r--r-- | navit/mapset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/mapset.h b/navit/mapset.h index a705a263c..54011bb3b 100644 --- a/navit/mapset.h +++ b/navit/mapset.h @@ -40,6 +40,7 @@ int mapset_add_attr(struct mapset *ms, struct attr *attr); int mapset_remove_attr(struct mapset *ms, struct attr *attr); int mapset_get_attr(struct mapset *ms, enum attr_type type, struct attr *attr, struct attr_iter *iter); void mapset_destroy(struct mapset *ms); +struct map *mapset_get_map_by_name(struct mapset *ms, char*map_name); 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); |