xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_responder_set_answer.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_responder_set_answer -  Answer a named question in the responder context.
2===============================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_responder_set_answer(krb5_context ctx, krb5_responder_context rctx, const char * question, const char * answer)
7
8..
9
10
11:param:
12
13	          **[in]** **ctx** - Library context
14
15	          **[in]** **rctx** - Responder context
16
17	          **[in]** **question** - Question name
18
19	          **[in]** **answer** - The string to set (MUST be printable UTF-8)
20
21
22..
23
24
25:retval:
26         -   EINVAL    question is not present within rctx
27
28
29..
30
31
32
33
34
35
36
37This function supplies an answer to *question* within *rctx* . The appropriate form of the answer depends on the question name.
38
39
40
41
42
43
44
45
46
47
48..
49
50
51
52
53.. note::
54
55	 New in 1.11
56
57
58