diff options
author | David Baker <dave@matrix.org> | 2019-10-01 11:18:05 +0100 |
---|---|---|
committer | David Baker <dave@matrix.org> | 2019-10-01 11:18:05 +0100 |
commit | e73a208fb2b70fb5d195a74956f22ea6557d361f (patch) | |
tree | 48678314be7143c4bf45a219896a9372670e0c28 /include/olm/olm.h | |
parent | 39a1ee0b18f0fced6d7bc293cc9a46ea70ec9e96 (diff) |
doc string
Diffstat (limited to 'include/olm/olm.h')
-rw-r--r-- | include/olm/olm.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/olm/olm.h b/include/olm/olm.h index 770be72..242277a 100644 --- a/include/olm/olm.h +++ b/include/olm/olm.h @@ -318,6 +318,12 @@ int olm_session_has_received_message( OlmSession *session ); +/** + * Return a string describing the internal state of an olm session, + * for debugging and logging purposes. The pointer returned points + * to an internal buffer and is valid until the next call to + * olm_session_describe on the same olm session object. + */ const char * olm_session_describe(OlmSession * session); /** Checks if the PRE_KEY message is for this in-bound session. This can happen |