summaryrefslogtreecommitdiff
path: root/src/include/anastasis.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 14:43:39 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 14:43:39 +0200
commit677c7e87a5da584e68194c9cca19a91191c3140c (patch)
tree33425fd28b6580c29d2f5fd80ab7241a5a643f13 /src/include/anastasis.h
parent4067891ed9f66eb5e47a709d3ea21c2ed36a1e86 (diff)
downloadanastasis-677c7e87a5da584e68194c9cca19a91191c3140c.tar.gz
anastasis-677c7e87a5da584e68194c9cca19a91191c3140c.tar.bz2
anastasis-677c7e87a5da584e68194c9cca19a91191c3140c.zip
-implement 'poll' transition in state machine
Diffstat (limited to 'src/include/anastasis.h')
-rw-r--r--src/include/anastasis.h8
1 files changed, 7 insertions, 1 deletions
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;
+
};