keyhole logo

Heimdal Kerberos 5 error reporting functions


Functions

krb5_error_code KRB5_LIB_FUNCTION krb5_eai_to_heim_errno (int eai_errno, int system_error)
krb5_error_code KRB5_LIB_FUNCTION krb5_h_errno_to_heim_errno (int eai_errno)

Detailed Description


Function Documentation

krb5_error_code KRB5_LIB_FUNCTION krb5_eai_to_heim_errno ( int  eai_errno,
int  system_error 
)

Convert the getaddrinfo() error code to a Kerberos et error code.

Parameters:
eai_errno contains the error code from getaddrinfo().
system_error should have the value of errno after the failed getaddrinfo().
Returns:
Kerberos error code representing the EAI errors.

krb5_error_code KRB5_LIB_FUNCTION krb5_h_errno_to_heim_errno ( int  eai_errno  ) 

Convert the gethostname() error code (h_error) to a Kerberos et error code.

Parameters:
eai_errno contains the error code from gethostname().
Returns:
Kerberos error code representing the gethostname errors.


Generated on Sat Sep 5 22:14:31 2009 for HeimdalKerberos5library by doxygen 1.5.4