]> mj.ucw.cz Git - leo.git/blobdiff - osm.h
Log statistics when a data source is loaded
[leo.git] / osm.h
diff --git a/osm.h b/osm.h
index ba240c63078655ad49b84bd054e9c3c5bdd41b02..cb6b24e9eb7fb139c6a4302b8cd4f3de67f65f37 100644 (file)
--- a/osm.h
+++ b/osm.h
@@ -81,12 +81,14 @@ struct osm {
   struct mempool *pool;
   clist obj_list[OSM_TYPE_MAX];
   struct osm_id_hash_table *id_hash[OSM_TYPE_MAX];
+  uint obj_cnt[OSM_TYPE_MAX];
 };
 
 extern struct osm *osm_this;
 
 struct osm *osm_init(void);
 void osm_dump(void);
+void osm_stats(void);
 
 osm_id_t osm_parse_id(const char *str);
 struct osm_object *osm_obj_find_by_id(enum osm_object_type type, osm_id_t id);