* watc_provider.h
*
* This file is part of maevies
- * Copyright (C) 2009 Simón Pena <bulfaiter@gmail.com>
+ * Copyright (C) 2009 Simón Pena <spenap@gmail.com>
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
#include <stdio.h>
#include <rest-0.6/rest/rest-proxy.h>
+#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_ */