gwenhywfar
4.3.1
|
#include "error_p.h"
#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "gwenhywfar/debug.h"
#include "gwenhywfar/misc.h"
#include "gwenhywfar/inetsocket.h"
#include "gwenhywfar/inetaddr.h"
#include "gwenhywfar/libloader.h"
Go to the source code of this file.
Defines | |
#define | I18N(m) m |
#define | I18S(m) m |
Functions | |
int | GWEN_Error_ModuleFini (void) |
int | GWEN_Error_ModuleInit (void) |
const char * | GWEN_Error_SimpleToString (int i) |
int | GWEN_Error_ToString (int c, char *buffer, int bsize) |
#define I18N | ( | m | ) | m |
Definition at line 42 of file error.c.
Referenced by CppGui::getPassword(), GWEN_Crypt_Token_BeginEnterPin(), GWEN_Crypt_Token_GetPin(), GWEN_Crypt_Token_InsertCorrectToken(), GWEN_Crypt_Token_InsertToken(), GWEN_Crypt_Token_PluginManager_CheckToken(), GWEN_Crypt_TokenFile__ActivateKey(), GWEN_Crypt_TokenFile__GenerateKey(), GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Date__fillTmplChars(), GWEN_Error_SimpleToString(), GWEN_Gui_CGui__input(), GWEN_Gui_CGui_GetPassword(), GWEN_Gui_CheckCertBuiltIn(), GWEN_Gui_Internal_ProgressEnd(), GWEN_Gui_ShowError(), GWEN_Gui_WaitForSockets(), GWEN_HttpSession__RecvPacket(), GWEN_HttpSession__RecvPacketToSio(), GWEN_HttpSession_ConnectionTest(), GWEN_HttpSession_RecvPacket(), GWEN_HttpSession_RecvPacketToFile(), GWEN_HttpSession_SendPacket(), GWEN_MDigest_CheckFileTree(), GWEN_Sar__UnpackArchive(), GWEN_Sar_AddAndDigestFileReg(), GWEN_Sar_CheckArchive(), GWEN_Sar_ExtractAndDigestFileReg(), GWEN_Sar_Sign(), GWEN_Sar_Verify(), GWEN_SyncIo_Http_RecvBody(), GWEN_SyncIo_Http_RecvBodyToSio(), GWEN_SyncIo_Socket_Connect(), GWEN_SyncIo_Tls_Connect(), GWEN_SyncIo_Tls_Disconnect(), GWEN_SyncIo_Tls_GetPeerCert(), GWEN_SyncIo_Tls_Read(), and GWEN_SyncIo_Tls_Write().
#define I18S | ( | m | ) | m |
Definition at line 43 of file error.c.
Referenced by GWEN_Gui_CheckCertBuiltIn().
int GWEN_Error_ModuleFini | ( | void | ) |
int GWEN_Error_ModuleInit | ( | void | ) |
Initializes this module.
Definition at line 63 of file error.c.
References DBG_VERBOUS, and GWEN_LOGDOMAIN.
Referenced by GWEN_Init().
const char* GWEN_Error_SimpleToString | ( | int | i | ) |
Definition at line 92 of file error.c.
References GWEN_ERROR_ABORTED, GWEN_ERROR_ALREADY_REGISTERED, GWEN_ERROR_BAD_ADDRESS, GWEN_ERROR_BAD_ADDRESS_FAMILY, GWEN_ERROR_BAD_SIZE, GWEN_ERROR_BAD_SOCKETTYPE, GWEN_ERROR_BROKEN_PIPE, GWEN_ERROR_BUFFER_OVERFLOW, GWEN_ERROR_CLOSE, GWEN_ERROR_COULD_NOT_LOAD, GWEN_ERROR_COULD_NOT_RESOLVE, GWEN_ERROR_DECRYPT, GWEN_ERROR_ENCRYPT, GWEN_ERROR_EOF, GWEN_ERROR_GENERIC, GWEN_ERROR_HOST_NOT_FOUND, GWEN_ERROR_IN_PROGRESS, GWEN_ERROR_INTERRUPTED, GWEN_ERROR_MEMORY_FULL, GWEN_ERROR_NO_ADDRESS, GWEN_ERROR_NO_DATA, GWEN_ERROR_NO_RECOVERY, GWEN_ERROR_NOT_AVAILABLE, GWEN_ERROR_NOT_FOUND, GWEN_ERROR_NOT_OPEN, GWEN_ERROR_NOT_REGISTERED, GWEN_ERROR_NOT_SUPPORTED, GWEN_ERROR_PARTIAL, GWEN_ERROR_READ, GWEN_ERROR_SIGN, GWEN_ERROR_SSL, GWEN_ERROR_STARTUP, GWEN_ERROR_TIMEOUT, GWEN_ERROR_TRY_AGAIN, GWEN_ERROR_UNKNOWN_DNS_ERROR, GWEN_ERROR_VERIFY, GWEN_ERROR_WRITE, GWEN_SUCCESS, and I18N.
Referenced by GWEN_Error_ToString().