]> gitweb.ps.run Git - matrix_esp_thesis/blobdiff - src/matrix.h
start working on Sync example (reply to to_device messages)
[matrix_esp_thesis] / src / matrix.h
index 20cdc8ce94376c2cca113786dc9b11052c4692c7..da0e85930b726169adbcd3fd0dcbe663b58f884f 100644 (file)
@@ -17,7 +17,7 @@
 #define DEVICE_ID_SIZE 20\r
 #define EXPIRE_MS_SIZE 20\r
 #define REFRESH_TOKEN_SIZE 20\r
-#define MAX_URL_LEN 128\r
+#define MAX_URL_LEN 1024\r
 \r
 #define OLM_IDENTITY_KEYS_JSON_SIZE 128\r
 #define DEVICE_KEY_SIZE 44\r
@@ -275,7 +275,8 @@ MatrixClientSendEventEncrypted(
 bool\r
 MatrixClientSync(\r
     MatrixClient * client,\r
-    char * outSync, int outSyncCap);\r
+    char * outSync, int outSyncCap,\r
+    const char * nextBatch);\r
 \r
 bool\r
 MatrixClientGetRoomEvent(\r