GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  KRB5_CLEAR_ERROR_MESSAGE (3)

NAME

Heimdal Kerberos 5 error reporting functions -

    Functions

    KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_eai_to_heim_errno (int eai_errno, int system_error)    
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_h_errno_to_heim_errno (int eai_errno)    
KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_clear_error_message (krb5_context context)    
KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_set_error_message (krb5_context context, krb5_error_code ret, const char *fmt,...) __attribute__((format(printf    
KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_vwarn (krb5_context context, krb5_error_code code, const char *fmt, va_list ap) __attribute__((format(printf

CONTENTS

Detailed Description

Function Documentation

    KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_clear_error_message (krb5_context context)

Clears the error message from the Kerberos 5 context.

Parameters:

context The Kerberos 5 context to clear

    KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 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_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL 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.

    KRB5_LIB_FUNCTION void KRB5_LIB_CALL krb5_set_error_message (krb5_context context, krb5_error_code ret, const char * fmt, ...)

Set the context full error string for a specific error code. The error that is stored should be internationalized.

The if context is NULL, no error string is stored.

Parameters:

context Kerberos 5 context
ret The error code
fmt Error string for the error code
... printf(3) style parameters.

    KRB5_LIB_FUNCTION krb5_error_code KRB5_LIB_CALL krb5_vwarn (krb5_context context, krb5_error_code code, const char * fmt, va_list ap)

Log a warning to the log, default stderr, include the error from the last failure.

Parameters:

context A Kerberos 5 context.
code error code of the last error
fmt message to print
ap arguments

Search for    or go to Top of page |  Section 3 |  Main Index


Version 1.5.2 HEIMDAL KERBEROS 5 ERROR REPORTING FUNCTIONS (3) 11 Jan 2012

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.