summaryrefslogtreecommitdiff
path: root/test.c
blob: 9766e8fad0ba6f20014b3106187f5f7d08ad3021 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// This header is generated by zig from mathtest.zig
#include "xmission.h"
#include <stdio.h>

int main(int argc, char **argv) {
  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_torrent_get(client);
  c_client_deinit(client);
  return 0;
}