From 677c7e87a5da584e68194c9cca19a91191c3140c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 19 Aug 2021 14:43:39 +0200 Subject: -implement 'poll' transition in state machine --- src/include/anastasis.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/anastasis.h b/src/include/anastasis.h index 8443eb6..3027e2a 100644 --- a/src/include/anastasis.h +++ b/src/include/anastasis.h @@ -71,10 +71,16 @@ struct ANASTASIS_ChallengeDetails const char *instructions; /** - * true if challenged was already solved, else false. + * true if challenge was already solved, else false. */ bool solved; + /** + * true if challenge is awaiting asynchronous + * resolution by the user. + */ + bool async; + }; -- cgit v1.2.3