summaryrefslogtreecommitdiff
path: root/navit/traffic.h
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2018-02-20 20:31:04 +0100
committermvglasow <michael -at- vonglasow.com>2018-02-20 20:31:04 +0100
commit700dd3c478ec3213a068ec27b1e1d698d2d40654 (patch)
tree8fbe8b64a7af5cb90593cdea6fbad87588404013 /navit/traffic.h
parent27bfe00dbf923c9f80d77fcc02b6b1d5595669d5 (diff)
downloadnavit-700dd3c478ec3213a068ec27b1e1d698d2d40654.tar.gz
Add:traffic:Let caller supply filename for traffic_get_messages_from_xml()
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.h')
-rw-r--r--navit/traffic.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/navit/traffic.h b/navit/traffic.h
index 4988cc6ba..f651d0186 100644
--- a/navit/traffic.h
+++ b/navit/traffic.h
@@ -891,8 +891,11 @@ void traffic_init(void);
/**
* @brief Reads previously stored traffic messages from an XML file.
+ *
+ * @param this_ The traffic instance
+ * @param filename The full path to the XML file to parse
*/
-struct traffic_message ** traffic_get_messages_from_xml(struct traffic * this_);
+struct traffic_message ** traffic_get_messages_from_xml(struct traffic * this_, char * filename);
/**
* @brief Returns the map for the traffic plugin.