add helper function _krb5_copy_send_to_kdc_func
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23910 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -499,6 +499,16 @@ krb5_set_send_to_kdc_func(krb5_context context,
|
||||
return 0;
|
||||
}
|
||||
|
||||
krb5_error_code KRB5_LIB_FUNCTION
|
||||
_krb5_copy_send_to_kdc_func(krb5_context context, krb5_context to)
|
||||
{
|
||||
return krb5_set_send_to_kdc_func(to,
|
||||
context->send_to_kdc->func,
|
||||
context->send_to_kdc->data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
struct krb5_sendto_ctx_data {
|
||||
int flags;
|
||||
int type;
|
||||
|
Reference in New Issue
Block a user