]> git.street.me.uk Git - andy/viking.git/commit - src/file.c
Rework Acquire framework process function options for maintainability and understanding.
authorRob Norris <rw_norris@hotmail.com>
Tue, 28 Apr 2015 21:18:11 +0000 (22:18 +0100)
committerRob Norris <rw_norris@hotmail.com>
Tue, 28 Apr 2015 21:18:11 +0000 (22:18 +0100)
commit17acdaec83bb90c38159fabe03286a238da51dc3
treed87ce306479cde1e234a311e1de4d78ab1a3fbe2
parent26ebb26f1c7a8feabcf5b17d509571db979e781b
Rework Acquire framework process function options for maintainability and understanding.

Instead of overloaded parameters, use a structure with fields for the specific processing types and gpsbabel options.

Thus rename functions and parameter variables, update the usage thereof and simplify code as applicable.
19 files changed:
src/acquire.c
src/acquire.h
src/babel.c
src/babel.h
src/datasource_bfilter.c
src/datasource_file.c
src/datasource_gc.c
src/datasource_geojson.c
src/datasource_geotag.c
src/datasource_gps.c
src/datasource_osm.c
src/datasource_osm_my_traces.c
src/datasource_routing.c
src/datasource_url.c
src/datasource_wikipedia.c
src/file.c
src/vikgpslayer.c
src/vikroutingwebengine.c
src/vikwebtool_datasource.c