13 typedef struct FixedBuffer {
\r
20 FixedBuf(const char * str);
\r
24 #define ACCESS_TOKEN_LEN 20 // TODO: fix
\r
26 typedef struct MatrixClient {
\r
27 OlmAccount * olmAcc;
\r
28 char accessToken[ACCESS_TOKEN_LEN];
\r
33 MatrixClient * client,
\r
38 MatrixClientLoginPassword(
\r
39 MatrixClient * client,
\r
40 FixedBuffer username,
\r
41 FixedBuffer password
\r
45 MatrixClientGetAccessToken(
\r
46 MatrixClient * client,
\r
47 FixedBuffer * outBuffer
\r