about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ctx.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ctx.c b/src/ctx.c
new file mode 100644
index 0000000..efa9101
--- /dev/null
+++ b/src/ctx.c
@@ -0,0 +1,15 @@
+#include <libumumble.h>
+#include <uv.h>
+
+int mumble_init_ctx(mumble_ctx_t ctx)
+{
+	int result;
+
+	result = uv_loop_init(&ctx.uv_loop);
+	return result;
+}
+
+void mumble_free_ctx(mumble_ctx_t ctx)
+{
+	uv_loop_close(&ctx.uv_loop);
+}
='Blame the previous revision' href='/akkartik/mu/blame/subx/023check_operand_sizes.cc?h=hlt&id=3b936c5b46f12853510e4c3aaea4e8800d8aaf9c'>^
06d9b1a5 ^








feac887c ^
06d9b1a5 ^
feac887c ^

90b01a1b ^
7f7d3dcc ^

feac887c ^
7f7d3dcc ^
c442a5ad ^
5fdd09c5 ^

d5f75ffe ^

feac887c ^




431f739d ^
f75c7021 ^
ef790392 ^
071afeff ^

938185b3 ^







071afeff ^




431f739d ^
1b35d4cd ^
1b35d4cd ^
938185b3 ^


83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^








83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^









83c67014 ^
938185b3 ^







83c67014 ^
938185b3 ^





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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143