Oliver Schwaneberg 8accd08715 uemis: speed up synchronisation of same divesites
uemis-downloader downloads the dive spot for each dive, even if the same
location was already downloaded before within the ongoing synchronization run.
I modified the function "get_uemis_divespot" to remember all requested
divespot_ids and their mapping to uuids.

New helper functions:
    - static void erase_divespot_mapping()
    - static void add_to_divespot_mapping(int divespot_id,
                                          uint32_t dive_site_uuid)
    - static bool is_divespot_mappable(int divespot_id)
    - static uint32_t get_dive_site_uuid_by_divespot_id(int divespot_id)
    The memory leak is removed through the call of erade_divespot_mapping().

Signed-off-by: Oliver Schwaneberg <oliver.schwaneberg@gmail.com>
2018-01-27 12:23:47 -08:00
..
2017-11-18 21:57:33 +01:00
2018-01-08 06:06:12 +02:00
2018-01-10 21:25:02 +01:00
2018-01-10 21:25:02 +01:00
2017-12-27 17:14:43 -08:00
2017-11-25 20:13:01 +01:00
2017-04-29 13:32:55 -07:00
2018-01-21 15:24:46 +01:00
2018-01-06 09:21:16 +01:00
2018-01-10 16:45:42 +01:00
2017-04-29 13:32:55 -07:00
2018-01-08 09:52:55 +02:00
2017-05-26 15:52:04 -07:00
2018-01-19 12:38:11 +02:00
2017-10-08 19:41:54 +03:00
2018-01-19 12:38:11 +02:00
2018-01-26 07:04:45 +01:00
2017-05-26 15:44:36 -07:00
2017-12-21 00:04:30 +01:00
2017-11-25 20:13:01 +01:00
2017-12-28 17:30:25 +01:00
2017-07-19 06:21:23 -07:00
2017-11-19 12:20:43 -08:00
2017-12-14 17:01:05 +01:00
2018-01-19 12:38:11 +02:00
2017-04-29 13:32:55 -07:00
2018-01-19 12:38:11 +02:00
2017-12-17 10:25:01 -08:00
2017-04-29 13:32:55 -07:00
2017-04-29 13:32:55 -07:00
2017-10-04 08:05:09 -07:00
2017-04-29 13:32:55 -07:00
2018-01-10 16:45:42 +01:00
2017-04-29 13:32:55 -07:00
2017-11-24 07:56:10 -08:00
2017-11-22 19:22:29 +01:00