gnc-uri - refer to 'scheme' instead of 'protocol' as that's the more formal term used in uris

This involves renaming 3 functions:
gnc_uri_get_protocol -> gnc_uri_get_scheme
gnc_uri_is_known_protocol -> gnc_uri_is_known_scheme
gnc_uri_is_file_protocol -> gnc_uri_is_file_scheme

The *_protocol variants are marked as deprecated.
Additionally a number of local variables have been renamed from
protocol to scheme to support this change.
This commit is contained in:
Geert Janssens
2018-12-27 22:28:29 +01:00
parent 74ed802eae
commit d22e1db340
9 changed files with 224 additions and 159 deletions

View File

@@ -65,5 +65,6 @@
#endif
/* ENABLE macro defaults */
#define GNC_DEPRECATED(message) __attribute__ ((__deprecated__ (message)))
#endif /* GNC_PLATFORM_H */