]> Pileus Git - grits/blobdiff - src/data/gis-wms.h
Split gis-data into data and http parts
[grits] / src / data / gis-wms.h
index 2e35e65b3ff99357e6723f4f9d58f70e6dca884c..07547e4d498f5b0c403f5780e25543f9349c753c 100644 (file)
@@ -23,9 +23,7 @@
 
 #include "objects/gis-tile.h"
 
-typedef struct _GisWms GisWms;
-
-struct _GisWms {
+typedef struct _GisWms {
        gchar *uri_prefix;
        gchar *uri_layer;
        gchar *uri_format;
@@ -34,15 +32,16 @@ struct _GisWms {
        gint   width;
        gint   height;
        SoupSession  *soup;
-};
+} GisWms;
 
-char *gis_wms_make_local(GisWms *wms, GisTile *tile);
 
 GisWms *gis_wms_new(
        gchar *uri_prefix, gchar *uri_layer, gchar *uri_format,
        gchar *cache_prefix, gchar *cache_ext,
        gint width, gint height);
 
+char *gis_wms_make_local(GisWms *wms, GisTile *tile);
+
 void gis_wms_free(GisWms *self);
 
 #endif