xref: /freebsd/crypto/krb5/doc/html/_sources/appdev/refs/api/krb5_set_kdc_send_hook.rst.txt (revision 7f2fe78b9dd5f51c821d771b63d2e096f6fd49e9)
1krb5_set_kdc_send_hook -  Set a KDC pre-send hook function.
2============================================================
3
4..
5
6.. c:function:: void krb5_set_kdc_send_hook(krb5_context context, krb5_pre_send_fn send_hook, void * data)
7
8..
9
10
11:param:
12
13	          **[in]** **context** - Library context
14
15	          **[in]** **send_hook** - Hook function (or NULL to disable the hook)
16
17	          **[in]** **data** - Callback data to be passed to *send_hook*
18
19
20..
21
22
23
24..
25
26
27
28
29
30
31
32 *send_hook* will be called before messages are sent to KDCs by library functions such as krb5_get_credentials(). The hook function may inspect, override, or synthesize its own reply to the message.
33
34
35
36
37
38
39
40
41
42
43..
44
45
46
47
48.. note::
49
50	 New in 1.15
51
52
53