branches/gmyth-0.1b/tests/http.c
branchtrunk
changeset 366 8aa32fa19a8f
parent 365 28c358053693
child 367 839c0fc4f285
     1.1 --- a/branches/gmyth-0.1b/tests/http.c	Wed Feb 14 23:06:17 2007 +0000
     1.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.3 @@ -1,24 +0,0 @@
     1.4 -#include <glib-object.h>
     1.5 -#include "gmyth.h"
     1.6 -#include <glib.h>
     1.7 -
     1.8 -int
     1.9 -main (int args, const char **argv)
    1.10 -{
    1.11 -    GMythBackendInfo *backend_info;
    1.12 -    g_type_init();
    1.13 -    //g_thread_init(NULL);
    1.14 -
    1.15 -    backend_info = gmyth_backend_info_new ();
    1.16 -
    1.17 -    gmyth_backend_info_set_hostname (backend_info, "localhost");
    1.18 -    gmyth_backend_info_set_port (backend_info, 6543);
    1.19 -    
    1.20 -    GTimeVal* start = gmyth_util_string_to_time_val("2006-01-01T00:00");
    1.21 -    GTimeVal* end = gmyth_util_string_to_time_val("2007-01-01T00:00");
    1.22 -    GMythEpg epg;
    1.23 -    epg  = retrieve_epg(backend_info, 6544, start, end, 0, 2, "True");
    1.24 -
    1.25 -
    1.26 -    return 0;    
    1.27 -}