Commit 782f3d4d authored by jvoisin's avatar jvoisin Committed by Ian Goldberg
Browse files

Fix: add missing declarations to context.h

This is mostly to be able to access it in the test suite following this
Signed-off-by: default avatarDavid Goulet <>
Signed-off-by: default avatarIan Goldberg <>
parent 2edaaacf
......@@ -180,4 +180,13 @@ int otrl_context_forget(ConnContext *context);
/* Forget all the contexts in a given OtrlUserState. */
void otrl_context_forget_all(OtrlUserState us);
/* Find requested recent instance */
ConnContext * otrl_context_find_recent_instance(ConnContext * context,
otrl_instag_t recent_instag);
/* Find the instance of this context that has the best security level, and for
* which we have most recently received a message from. Note that most recent
* in this case is limited to a one-second resolution. */
ConnContext * otrl_context_find_recent_secure_instance(ConnContext * context);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment