blob: 553aff66bcb89c9a751f0457da75a76959e65dfe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#ifndef _XMISSION_H
#define _XMISSION_H
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
typedef void *c_client;
typedef struct ClientOptions {
char *host;
uint16_t port;
bool https;
char *user;
char *passowrd;
} ClientOptions_t;
c_client c_client_init(ClientOptions_t opts);
int c_torrent_get(c_client);
void c_client_deinit(c_client);
#endif
|