diff options
| author | Patrick | 2023-07-20 23:15:26 +0200 |
|---|---|---|
| committer | Patrick | 2023-07-20 23:15:26 +0200 |
| commit | 07e667e29883740aa0b82199cf0518a2e2684e26 (patch) | |
| tree | 0dc0ba2a6fceeeaab1147cbf3b20fec0727f281c /src/matrix.h | |
| parent | 464bfb1912d0806143386f61c33dd45fbafc38e8 (diff) | |
| download | matrix_esp_thesis-07e667e29883740aa0b82199cf0518a2e2684e26.tar.gz matrix_esp_thesis-07e667e29883740aa0b82199cf0518a2e2684e26.zip | |
cli send encrypted & manage megolm session, save/load megolm sessions
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
|
