summaryrefslogtreecommitdiff
path: root/navit/mapset.h
diff options
context:
space:
mode:
authormartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-25 18:22:57 +0000
committermartin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220>2009-10-25 18:22:57 +0000
commite0a92eaf3f551f83bd921ec02453f6319516ec64 (patch)
treed2cfefad00a8674a06ae88c4855a6732c296535e /navit/mapset.h
parentde911d13ec8f13f7e00ee23e63aa6a59c738b751 (diff)
downloadnavit-e0a92eaf3f551f83bd921ec02453f6319516ec64.tar.gz
Core:Made attributes for maps settable
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@2690 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/mapset.h')
-rw-r--r--navit/mapset.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/navit/mapset.h b/navit/mapset.h
index 0e19010bd..21d5b2d6e 100644
--- a/navit/mapset.h
+++ b/navit/mapset.h
@@ -21,7 +21,9 @@
#define NAVIT_MAPSET_H
/* prototypes */
+enum attr_type;
struct attr;
+struct attr_iter;
struct item;
struct map;
struct mapset;
@@ -29,6 +31,7 @@ struct mapset_handle;
struct mapset_search;
struct mapset *mapset_new(struct attr *parent, struct attr **attrs);
int mapset_add_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 mapset_handle *mapset_open(struct mapset *ms);
struct map *mapset_next(struct mapset_handle *msh, int active);
@@ -36,6 +39,5 @@ 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);
-
+/* end of prototypes */
#endif
-