blob: bc0f1ca704af357798fff98fca2b1722b1d0c736 (
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
31
32
33
34
35
36
37
38
|
#include "matrix.h"
FixedBuffer
FixedBuf(const char * str)
{
int len = strlen(str);
FixedBuffer result;
result.ptr = (char *)str;
result.size = len;
result.len = len;
return result;
}
bool
MatrixClientInit(
MatrixClient * client,
FixedBuffer server
) {
}
bool
MatrixClientLoginPassword(
MatrixClient * client,
FixedBuffer username,
FixedBuffer password
) {
}
bool
MatrixClientGetAccessToken(
MatrixClient * client,
FixedBuffer * outBuffer
) {
}
|