]> Pileus Git - grits/blobdiff - src/data/gis-http.h
Document GisHttp
[grits] / src / data / gis-http.h
index 051df0bfb7540cdd8b1857c066fd04274c032b32..b7f1638d7d4592e1845d3d1e1262ab5939b1709f 100644 (file)
 #include "gis-data.h"
 
 typedef struct _GisHttp {
-       gchar *prefix;
        SoupSession *soup;
+       gchar *prefix;
 } GisHttp;
 
-/**
- * @param prefix The cache prefix: e.g. /nexrad/level2/
- * @return The HTTP connection handle
- */
 GisHttp *gis_http_new(const gchar *prefix);
 
-/**
- * @param http      GisHttp connection to use
- * @param uri       The uri to fetch
- * @param mode      Update type
- * @param callback  Callback to call when a chunck is recieved
- * @param user_data Data to pass to callback
- * @return The local path to the complete file
- */
+void gis_http_free(GisHttp *http);
+
 gchar *gis_http_fetch(GisHttp *http, const gchar *uri, const gchar *local,
                GisCacheType mode,
                GisChunkCallback callback,