summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-08-19 13:52:16 +0200
committerChristian Grothoff <christian@grothoff.org>2021-08-19 13:52:16 +0200
commit4067891ed9f66eb5e47a709d3ea21c2ed36a1e86 (patch)
tree6af58030bf1d7b85999fe346ff5d1b1c64705fbc /src/include
parent81d0e570be0db784e98fdb7ad63f9b65c6745be3 (diff)
downloadanastasis-4067891ed9f66eb5e47a709d3ea21c2ed36a1e86.tar.gz
anastasis-4067891ed9f66eb5e47a709d3ea21c2ed36a1e86.tar.bz2
anastasis-4067891ed9f66eb5e47a709d3ea21c2ed36a1e86.zip
modify lib/ to pass 202 status back to reducer
Diffstat (limited to 'src/include')
-rw-r--r--src/include/anastasis.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/include/anastasis.h b/src/include/anastasis.h
index f9782fd..8443eb6 100644
--- a/src/include/anastasis.h
+++ b/src/include/anastasis.h
@@ -138,7 +138,14 @@ enum ANASTASIS_ChallengeStatus
* challenge in time. The request should be repeated
* later and may then succeed.
*/
- ANASTASIS_CHALLENGE_STATUS_AUTH_TIMEOUT
+ ANASTASIS_CHALLENGE_STATUS_AUTH_TIMEOUT,
+
+ /**
+ * Plugin-specific ("external") instructions for how to solve the
+ * challenge are provided.
+ */
+ ANASTASIS_CHALLENGE_STATUS_EXTERNAL_INSTRUCTIONS
+
};
@@ -166,7 +173,8 @@ struct ANASTASIS_ChallengeStartResponse
/**
* Challenge details provided if
- * @e cs is #ANASTASIS_CHALLENGE_STATUS_INSTRUCTIONS.
+ * @e cs is #ANASTASIS_CHALLENGE_STATUS_INSTRUCTIONS
+ * or #ANASTASIS_CHALLENGE_STATUS_EXTERNAL_INSTRUCTIONS.
*/
struct
{