diff options
Diffstat (limited to 'test.c')
-rw-r--r-- | test.c | 16 |
1 files changed, 10 insertions, 6 deletions
@@ -3,11 +3,15 @@ #include <stdio.h> 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; } |