Initial commit
[jamendo] / src / http_utils.h
diff --git a/src/http_utils.h b/src/http_utils.h
new file mode 100644 (file)
index 0000000..e60f7f5
--- /dev/null
@@ -0,0 +1,22 @@
+/*
+ * http_utils.h
+ *
+ *  Created on: 2009-12-18
+ *      Author: marcin
+ */
+
+#ifndef HTTP_UTILS_H_
+#define HTTP_UTILS_H_
+
+#include <libxml/tree.h>
+#include <gdk-pixbuf/gdk-pixbuf.h>
+#include <gio/gio.h>
+
+/*
+ * Helper functions for accessing HTTP
+ */
+xmlDocPtr http_get_xml(const gchar* uri);
+
+GdkPixbuf* http_get_image(const gchar* uri, gint width, gint height);
+
+#endif /* HTTP_UTILS_H_ */