Added an example to test the WATC module. It lets you query whatsafterthecredits...
[maevies] / src / watc_provider.h
index 769da66..93fbcc9 100644 (file)
 #include <unistd.h>
 
 #define WATC_SERVICE_URL "http://whatsafterthecredits.com/api.php"
+typedef struct _WATCInfo WATCInfo;
 
-gboolean watc_has_stingers(const gchar *name);
+struct _WATCInfo {
+       gchar *movie_name;
+       gboolean has_stingers;
+};
+
+GSList *watc_has_stingers(const gchar *name);
+
+void watcinfo_unref(WATCInfo *info);
+
+void watcinfo_list_unref(GSList *list);
+
+void watcinfo_print(WATCInfo *info);
 
 #endif /* WATC_PROVIDER_H_ */