From 831740fcacfe67b8124436460afa77af15493f93 Mon Sep 17 00:00:00 2001 From: Christian Segundo Date: Thu, 15 Jun 2023 23:27:24 +0200 Subject: one step closer --- test.c | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'test.c') diff --git a/test.c b/test.c index 13a2af5..9766e8f 100644 --- a/test.c +++ b/test.c @@ -3,11 +3,15 @@ #include int main(int argc, char **argv) { - struct ClientOptions opts; - opts.host = "192.168.0.2"; - opts.port = 9091; + struct ClientOptions opts; + opts.host = "192.168.0.2"; + opts.port = 9091; + opts.https = false; + opts.user = NULL; + opts.passowrd = NULL; - c_client client = c_client_init(opts); - c_client_deinit(client); - return 0; + c_client client = c_client_init(opts); + c_torrent_get(client); + c_client_deinit(client); + return 0; } -- cgit v1.2.3