]> Pileus Git - grits/blobdiff - src/data/gis-http.h
Convert GisWms to use GisHttp
[grits] / src / data / gis-http.h
index 051df0bfb7540cdd8b1857c066fd04274c032b32..c042a42a7a6e32ce306a478d9c8ed7daaf53c364 100644 (file)
@@ -24,8 +24,8 @@
 #include "gis-data.h"
 
 typedef struct _GisHttp {
-       gchar *prefix;
        SoupSession *soup;
+       gchar *prefix;
 } GisHttp;
 
 /**
@@ -34,6 +34,12 @@ typedef struct _GisHttp {
  */
 GisHttp *gis_http_new(const gchar *prefix);
 
+/**
+ * Free data associated with the GisHttp
+ * @param http the GisHttp to free
+ */
+void gis_http_free(GisHttp *http);
+
 /**
  * @param http      GisHttp connection to use
  * @param uri       The uri to fetch