KRB5_EAI_TO_HEIM_ERRNO(3) OpenBSD Programmer's Manual
KRB5_EAI_TO_HEIM_ERRNO(3)NAME
krb5_eai_to_heim_errno, krb5_h_errno_to_heim_errno - convert resolver
error code to com_err error codes
LIBRARY
Kerberos 5 Library (libkrb5, -lkrb5)
SYNOPSIS
#include <krb5.h>
krb5_error_code
krb5_eai_to_heim_errno(int eai_errno, int system_error);
krb5_error_code
krb5_h_errno_to_heim_errno(int eai_errno);
DESCRIPTIONkrb5_eai_to_heim_errno() and krb5_h_errno_to_heim_errno() convert
getaddrinfo(3), getnameinfo(3), and h_errno(3) to com_err error code that
are used by Heimdal, this is useful for for function returning kerberos
errors and needs to communicate failures from resolver function.
SEE ALSOkrb5(3), kerberos(8)HEIMDAL April 13, 2004 HEIMDAL