xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_recvauth_version.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_recvauth_version -  Server function for sendauth protocol with version parameter.
2=======================================================================================
3
4..
5
6.. c:function:: krb5_error_code krb5_recvauth_version(krb5_context context, krb5_auth_context * auth_context, krb5_pointer fd, krb5_principal server, krb5_int32 flags, krb5_keytab keytab, krb5_ticket ** ticket, krb5_data * version)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[inout]** **auth_context** - Pre-existing or newly created auth context
16
17	          **[in]** **fd** - File descriptor
18
19	          **[in]** **server** - Server principal (NULL for any in *keytab* )
20
21	          **[in]** **flags** - Additional specifications
22
23	          **[in]** **keytab** - Decryption key
24
25	          **[out]** **ticket** - Ticket (NULL if not needed)
26
27	          **[out]** **version** - sendauth protocol version (NULL if not needed)
28
29
30..
31
32
33:retval:
34         -   0   Success; otherwise - Kerberos error codes
35
36
37..
38
39
40
41
42
43
44
45This function is similar to krb5_recvauth() with the additional output information place into *version* .
46
47
48
49
50
51
52
53
54
55
56..
57
58
59
60
61
62