summaryrefslogtreecommitdiff
path: root/navit/traffic.h
diff options
context:
space:
mode:
authormvglasow <michael -at- vonglasow.com>2017-11-27 23:32:04 +0100
committermvglasow <michael -at- vonglasow.com>2017-11-27 23:32:04 +0100
commit0cc2fd0eb354851d53af56f6592d03b7bde42dfb (patch)
tree79ca4d25e4e3a2e55007e85ce0016bd96a279853 /navit/traffic.h
parent5c2a08a46db6c0762cb33b8816e29b4cea680130 (diff)
downloadnavit-0cc2fd0eb354851d53af56f6592d03b7bde42dfb.tar.gz
Refactor:traffic:Remove unused function traffic_report_messages()
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.h')
-rw-r--r--navit/traffic.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/navit/traffic.h b/navit/traffic.h
index 38b56849d..a5da2779b 100644
--- a/navit/traffic.h
+++ b/navit/traffic.h
@@ -723,25 +723,6 @@ void traffic_message_add_event(struct traffic_message * this_, struct traffic_ev
struct traffic_event * traffic_message_get_event(struct traffic_message * this_, int index);
/**
- * @brief Reports new messages to the traffic plugin.
- *
- * This function is called by backends when they have new messages to report to the traffic plugin.
- *
- * The traffic plugin matches the messages to existing ones, matches locations to map data and adds,
- * removes or modifies traffic distortions. If necessary, it triggers a route recalculation.
- *
- * It is the caller’s responsibility to free up the memory used for the pointer array, but not the
- * messages themselves, after the call returns.
- *
- * @param message_count The number of messages in {@code messages}
- * @param messages Points to an array of pointers for the events reported
- *
- * @return true if the messages were processed successfully, false if not. In the latter case, the
- * backend should either retry the report until it succeeds, or destroy the messages.
- */
-int traffic_report_messages(int message_count, struct traffic_message ** messages);
-
-/**
* @brief Initializes the traffic plugin.
*
* This function is called once on startup.