1krb5_set_kdc_recv_hook - Set a KDC post-receive hook function. 2================================================================ 3 4.. 5 6.. c:function:: void krb5_set_kdc_recv_hook(krb5_context context, krb5_post_recv_fn recv_hook, void * data) 7 8.. 9 10 11:param: 12 13 **[in]** **context** - The library context. 14 15 **[in]** **recv_hook** - Hook function (or NULL to disable the hook) 16 17 **[in]** **data** - Callback data to be passed to *recv_hook* 18 19 20.. 21 22 23 24.. 25 26 27 28 29 30 31 32 *recv_hook* will be called after a reply is received from a KDC during a call to a library function such as krb5_get_credentials(). The hook function may inspect or override the reply. This hook will not be executed if the pre-send hook returns a synthetic reply. 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