blob: e38150dcff83d426552dd09d68d69feb9b7a2fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#ifndef _CONNECTION_H_
#define _CONNECTION_H_
#include <glib.h>
struct cmumble_connection {
GSocketClient *sock_client;
GSocketConnection *conn;
GSocket *sock;
GPollableInputStream *input;
GOutputStream *output;
GSource *source;
struct mumble_callbacks *callbacks;
};
struct context;
struct mumble_callbacks;
int
cmumble_connection_init(struct context *ctx,
const char *host, int port,
struct mumble_callbacks *cbs);
int
cmumble_connection_fini(struct context *ctx);
#endif /* _CONNECTION_H_ */
|