Project: Updated copyright info
[maevies] / src / watc_provider.h
index 4192b50..f0eef14 100644 (file)
@@ -2,7 +2,7 @@
  * 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
 #define WATC_PROVIDER_H_
 
 #include <stdio.h>
-#include <rest/rest/rest-proxy.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_ */