aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2019-10-01 11:18:05 +0100
committerDavid Baker <dave@matrix.org>2019-10-01 11:18:05 +0100
commite73a208fb2b70fb5d195a74956f22ea6557d361f (patch)
tree48678314be7143c4bf45a219896a9372670e0c28
parent39a1ee0b18f0fced6d7bc293cc9a46ea70ec9e96 (diff)
doc string
-rw-r--r--include/olm/olm.h6
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