hx509_error - Online Linux Manual PageSection : 3
Updated : Tue Nov 15 2022
Source : Version 7.8.0
Note : Heimdal x509 library

NAMEhx509_error − hx509 error functions

SYNOPSIS

Functionsvoid hx509_clear_error_string (hx509_context context)
void hx509_set_error_stringv (hx509_context context, int flags, int code, const char *fmt, va_list ap)
void hx509_set_error_string (hx509_context context, int flags, int code, const char *fmt,​.​.​.)
char * hx509_get_error_string (hx509_context context, int error_code)
void hx509_free_error_string (char *str)
void hx509_err (hx509_context context, int exit_code, int error_code, const char *fmt,​.​.​.)

Detailed DescriptionSee the Hx509 error reporting functions for description and examples​.

Function Documentation

void hx509_clear_error_string (hx509_context context)Resets the error strings the hx509 context​. Parameters context A hx509 context​.

void hx509_err (hx509_context context, int exit_code, int error_code, const char * fmt, ​.​.​.)Print error message and fatally exit from error code Parameters context A hx509 context​.
exit_code exit() code from process​.
error_code Error code for the reason to exit​.
fmt format string with the exit message​.
​.​.​. argument to format string​.

void hx509_free_error_string (char * str)Free error string returned by hx509_get_error_string()​. Parameters str error string to free​.

char* hx509_get_error_string (hx509_context context, int error_code)Get an error string from context associated with error_code​. Parameters context A hx509 context​.
error_code Get error message for this error code​.
Returns error string, free with hx509_free_error_string()​.

void hx509_set_error_string (hx509_context context, int flags, int code, const char * fmt, ​.​.​.)See hx509_set_error_stringv()​. Parameters context A hx509 context​.
flags
• HX509_ERROR_APPEND appends the error string to the old messages (code is updated)​.
code error code related to error message
fmt error message format
​.​.​. arguments to error message format

void hx509_set_error_stringv (hx509_context context, int flags, int code, const char * fmt, va_list ap)Add an error message to the hx509 context​. Parameters context A hx509 context​.
flags
• HX509_ERROR_APPEND appends the error string to the old messages (code is updated)​.
code error code related to error message
fmt error message format
ap arguments to error message format

AuthorGenerated automatically by Doxygen for Heimdal x509 library from the source code​.
0
Johanes Gumabo
Data Size   :   14,932 byte
man-hx509_err.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   5 / 164,939
Visitor ID   :     :  
Visitor IP   :   3.139.86.53   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.