diff options
Diffstat (limited to 'src/matrix.h')
| -rw-r--r-- | src/matrix.h | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/matrix.h b/src/matrix.h index 91ed208..073f610 100644 --- a/src/matrix.h +++ b/src/matrix.h @@ -115,13 +115,25 @@ bool MatrixMegolmOutSessionInit(
MatrixMegolmOutSession * session,
const char * roomId);
-
+
bool
MatrixMegolmOutSessionEncrypt(
MatrixMegolmOutSession * session,
const char * plaintext,
char * outBuffer, int outBufferCap);
+bool
+MatrixMegolmOutSessionSave(
+ MatrixMegolmOutSession * session,
+ const char * filename,
+ const char * key);
+
+bool
+MatrixMegolmOutSessionLoad(
+ MatrixMegolmOutSession * session,
+ const char * filename,
+ const char * key);
+
// Matrix Client
|
