blob: 305fa2bb63431f310a266a8bbd4ed39a692a885f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// This header is generated by zig from mathtest.zig
#include "xmission.h"
#include <stdio.h>
int main(int argc, char **argv) {
struct ClientOptions opts = {
.host = "192.168.0.2",
.port = 9091,
.https = false,
NULL,
NULL,
};
c_client client = c_client_init(opts);
char *foo = c_torrent_get(client);
printf("%s\n", foo);
c_client_deinit(client);
return 0;
}
|