[Pkg-privacy-commits] [libotr] 199/225: Fix: add missing declarations to context.h
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 12:45:32 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch master
in repository libotr.
commit 782f3d4de9b2efade5b7c4e72019fe74916c692c
Author: Julien Voisin <julien.voisin at dustri.org>
Date: Mon Oct 13 16:21:47 2014 -0400
Fix: add missing declarations to context.h
This is mostly to be able to access it in the test suite following this
commit.
Signed-off-by: David Goulet <dgoulet at ev0ke.net>
Signed-off-by: Ian Goldberg <iang at cs.uwaterloo.ca>
---
src/context.h | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/src/context.h b/src/context.h
index 4dfe236..20992a8 100644
--- a/src/context.h
+++ b/src/context.h
@@ -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);
+
#endif
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/libotr.git
More information about the Pkg-privacy-commits
mailing list