struct map_search_priv *(*map_search_new)(struct map_priv *map, struct item *item, struct attr *search, int partial); /**< Function to start a new search on the map */
void (*map_search_destroy)(struct map_search_priv *ms); /**< Function to destroy a map search struct */
struct item * (*map_search_get_item)(struct map_search_priv *ms); /**< Function to get the next item of a search on the map */
+ struct item * (*map_rect_create_item)(struct map_rect_priv *mr, enum item_type type); /**< Function to create a new item in the map */
+ int (*map_get_attr)(struct map_priv *priv, enum attr_type type, struct attr *attr);
+ int (*map_set_attr)(struct map_priv *priv, struct attr *attr);
+
};
/**
int map_selection_contains_item(struct map_selection *sel, int follow, enum item_type type);
int map_priv_is(struct map *map, struct map_priv *priv);
void map_dump_filedesc(struct map *map, FILE *out);
-void map_dump_file(struct map *map, char *file);
+void map_dump_file(struct map *map, const char *file);
void map_dump(struct map *map);
/* end of prototypes */