diff -r 28c358053693 -r 8aa32fa19a8f branches/gmyth-0.1b/tests/http.c --- a/branches/gmyth-0.1b/tests/http.c Wed Feb 14 23:06:17 2007 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -#include -#include "gmyth.h" -#include - -int -main (int args, const char **argv) -{ - GMythBackendInfo *backend_info; - g_type_init(); - //g_thread_init(NULL); - - backend_info = gmyth_backend_info_new (); - - gmyth_backend_info_set_hostname (backend_info, "localhost"); - gmyth_backend_info_set_port (backend_info, 6543); - - GTimeVal* start = gmyth_util_string_to_time_val("2006-01-01T00:00"); - GTimeVal* end = gmyth_util_string_to_time_val("2007-01-01T00:00"); - GMythEpg epg; - epg = retrieve_epg(backend_info, 6544, start, end, 0, 2, "True"); - - - return 0; -}