]> git.street.me.uk Git - andy/viking.git/blobdiff - src/coords.h
Fix incorrect GPSBabel/Garmin symbol names.
[andy/viking.git] / src / coords.h
index a998fd532b1b8a890f5d8d2ed8ee24d0c23c1d5f..390963c7c6d440ad4476b92527f2ae94aa853277 100644 (file)
@@ -37,6 +37,8 @@ renaming functions and defining LatLon and UTM structs.
 
 #include <glib.h>
 
+G_BEGIN_DECLS
+
 struct UTM {
   gdouble northing;
   gdouble easting;
@@ -65,6 +67,13 @@ double a_coords_latlon_diff ( const struct LatLon *ll1, const struct LatLon *ll2
  */
 char *a_coords_dtostr ( double d );
 
+/**
+ * Convert a LatLon to strings.
+ *
+ * Use the prefered representation.
+ */
+void a_coords_latlon_to_string ( const struct LatLon *latlon, gchar **lat, gchar **lon );
 
+G_END_DECLS
 
 #endif