gwenhywfar 5.14.1
error.h File Reference

This file contains the module for error handling. More...

#include <gwenhywfar/gwenhywfarapi.h>
#include <gwenhywfar/types.h>
Include dependency graph for error.h:

Go to the source code of this file.

Macros

#define GWEN_ERROR_ABORTED   (-2)
#define GWEN_ERROR_ALREADY_REGISTERED   (-58)
#define GWEN_ERROR_BAD_ADDRESS   (-41)
#define GWEN_ERROR_BAD_ADDRESS_FAMILY   (-48)
#define GWEN_ERROR_BAD_DATA   (-101)
#define GWEN_ERROR_BAD_NAME   (-69)
#define GWEN_ERROR_BAD_PIN   (-70)
#define GWEN_ERROR_BAD_PIN_0_LEFT   (-71)
#define GWEN_ERROR_BAD_PIN_1_LEFT   (-72)
#define GWEN_ERROR_BAD_PIN_2_LEFT   (-73)
#define GWEN_ERROR_BAD_SIZE   (-60)
#define GWEN_ERROR_BAD_SOCKETTYPE   (-32)
#define GWEN_ERROR_BROKEN_PIPE   (-39)
#define GWEN_ERROR_BUFFER_OVERFLOW   (-42)
#define GWEN_ERROR_CLOSE   (-54)
#define GWEN_ERROR_CONN_REFUSED   (-106)
#define GWEN_ERROR_COULD_NOT_LOAD   (-49)
#define GWEN_ERROR_COULD_NOT_RESOLVE   (-50)
#define GWEN_ERROR_DECRYPT   (-63)
#define GWEN_ERROR_DEFAULT_VALUE   (-76)
#define GWEN_ERROR_ENCRYPT   (-62)
#define GWEN_ERROR_EOF   (-57)
#define GWEN_ERROR_FOUND   (-102)
#define GWEN_ERROR_GENERIC   (-1)
#define GWEN_ERROR_HOST_NOT_FOUND   (-43)
#define GWEN_ERROR_IN_PROGRESS   (-35)
#define GWEN_ERROR_INTERNAL   (-104)
#define GWEN_ERROR_INTERRUPTED   (-37)
#define GWEN_ERROR_INVALID   (-6)
#define GWEN_ERROR_IO   (-103)
#define GWEN_ERROR_LOCK   (-109)
#define GWEN_ERROR_MEMORY_FULL   (-40)
#define GWEN_ERROR_NET_UNREACHABLE   (-107)
#define GWEN_ERROR_NO_ADDRESS   (-44)
#define GWEN_ERROR_NO_DATA   (-55)
#define GWEN_ERROR_NO_KEY   (-74)
#define GWEN_ERROR_NO_RECOVERY   (-45)
#define GWEN_ERROR_NOT_AVAILABLE   (-3)
#define GWEN_ERROR_NOT_CONNECTED   (-100)
#define GWEN_ERROR_NOT_FOUND   (-51)
#define GWEN_ERROR_NOT_IMPLEMENTED   (-67)
#define GWEN_ERROR_NOT_OPEN   (-33)
#define GWEN_ERROR_NOT_REGISTERED   (-59)
#define GWEN_ERROR_NOT_SUPPORTED   (-68)
#define GWEN_ERROR_OPEN   (-5)
#define GWEN_ERROR_PARTIAL   (-56)
#define GWEN_ERROR_PERMISSIONS   (-105)
#define GWEN_ERROR_READ   (-52)
#define GWEN_ERROR_REMOVED   (-75)
#define GWEN_ERROR_SIGN   (-64)
#define GWEN_ERROR_SSL   (-66)
#define GWEN_ERROR_SSL_PREMATURE_CLOSE   (-110)
#define GWEN_ERROR_SSL_SECURITY   (-108)
#define GWEN_ERROR_STARTUP   (-36)
#define GWEN_ERROR_TIMEOUT   (-34)
#define GWEN_ERROR_TRY_AGAIN   (-46)
#define GWEN_ERROR_UNKNOWN_DNS_ERROR   (-47)
#define GWEN_ERROR_USER_ABORTED   (-4)
#define GWEN_ERROR_USEROFFSET   (-1000)
#define GWEN_ERROR_VERIFY   (-65)
#define GWEN_ERROR_WRITE   (-53)
#define GWEN_SUCCESS   0

Functions

Verbosity

Composing error messages.

GWENHYWFAR_API const char * GWEN_Error_SimpleToString (int i)
 Returns a (very) short string describing the given GWEN error code, or "Unknown error" for unknown codes.
GWENHYWFAR_API int GWEN_Error_ToString (int c, char *buffer, int bsize)

Detailed Description

This file contains the module for error handling.

Definition in file error.h.

Macro Definition Documentation

◆ GWEN_ERROR_ABORTED

#define GWEN_ERROR_ABORTED   (-2)

◆ GWEN_ERROR_ALREADY_REGISTERED

#define GWEN_ERROR_ALREADY_REGISTERED   (-58)

Definition at line 98 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_BAD_ADDRESS

#define GWEN_ERROR_BAD_ADDRESS   (-41)

Definition at line 78 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_BAD_ADDRESS_FAMILY

#define GWEN_ERROR_BAD_ADDRESS_FAMILY   (-48)

Definition at line 85 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_BAD_DATA

#define GWEN_ERROR_BAD_DATA   (-101)

Definition at line 121 of file error.h.

Referenced by _addFlagFnsPrototype(), _addMember(), _addMemberProtoTypes(), _addSetterPrototype(), _addVirtualFunctions(), _buildDefineDefines(), _parseSubdir(), _parseVersions(), _readKey(), _readSimpleValueAndReturnType(), _setProjectVersionFromString(), _splitVariableNameInNameAndIndex(), GWB_ParseProject(), GWB_Parser_ReplaceVarsBetweenAtSigns(), GWEN_Crypt_KeyRsa__ReadMpi(), GWEN_Crypt_KeyRsa_Decipher(), GWEN_Crypt_KeyRsa_Encipher(), GWEN_Crypt_KeyRsa_Sign(), GWEN_Crypt_KeyRsa_Verify(), GWEN_CryptMgr_Decrypt(), GWEN_CryptMgr_Verify(), GWEN_DB__ReadValues(), GWEN_DB_ReadFromFastBuffer(), GWEN_DBIO_OldDb_Import(), GWEN_DBIO_XmlDb_Import(), GWEN_Padd_UnpaddWithIso9796_2(), GWEN_Padd_VerifyPkcs1Pss(), GWEN_PasswordStore_CheckDigest(), GWEN_Sar_ExtractAndDigestFileDir(), GWEN_Sar_ExtractAndDigestFileLink(), GWEN_Sar_ExtractAndDigestFileReg(), GWEN_Sar_ScanFile(), GWEN_Sar_TlvToFileHeader(), GWEN_Sar_Verify(), GWEN_SmallTresor_Decrypt(), GWEN_SyncIo_Http_ParseHeader(), GWEN_SyncIo_Http_Read(), GWEN_SyncIo_Http_ReadChunkSize(), GWEN_SyncIo_Http_RecvBody(), GWEN_SyncIo_Http_RecvBodyToSio(), GWEN_SyncIo_Http_WriteHeader(), GWEN_Text_ReplaceVars(), GWEN_TLV_ReadHeader(), GWEN_Widget_ReadXml(), GWEN_XML__ReadTag(), GWEN_XmlCtxStore_AddAttr(), GWEN_XmlCtxStore_AddData(), GWEN_XmlCtxStore_EndTag(), GWEN_XmlCtxStore_StartTag(), HtmlCtx_EndTag(), HtmlCtx_SanitizeData(), HtmlGroup_Table_StartTag(), HtmlGroup_TableRow_StartTag(), HtmlGroup_UnorderedList_StartTag(), TM2C_BuildCodeVirtualFns(), TM2C_BuildCreateColumnList(), TM2C_BuildDefineEnums(), TM2C_BuildDefineVirtualFns(), TM2C_BuildEnumFromString(), TM2C_BuildEnumToString(), TM2C_BuildGetterVirtualFns(), TM2C_BuildProtoGetterVirtualFns(), TM2C_BuildProtoSetterVirtualFns(), TM2C_BuildProtoVirtualFns(), TM2C_BuildSetterVirtualFns(), TM2C_SetEnumStringFns(), Typemaker2_Builder_DetermineOutFileNames(), Typemaker2_Builder_ReplaceVars(), Typemaker2_Builder_WriteFiles(), Typemaker2_Member_readXml(), Typemaker2_Type_readXml(), and Typemaker2_VirtualFn_readXml().

◆ GWEN_ERROR_BAD_NAME

#define GWEN_ERROR_BAD_NAME   (-69)

Definition at line 110 of file error.h.

Referenced by _checkPlugin(), and GWEN_Crypt_TokenOHBCI_Plugin_CheckToken().

◆ GWEN_ERROR_BAD_PIN

◆ GWEN_ERROR_BAD_PIN_0_LEFT

#define GWEN_ERROR_BAD_PIN_0_LEFT   (-71)

Definition at line 112 of file error.h.

◆ GWEN_ERROR_BAD_PIN_1_LEFT

#define GWEN_ERROR_BAD_PIN_1_LEFT   (-72)

Definition at line 113 of file error.h.

◆ GWEN_ERROR_BAD_PIN_2_LEFT

#define GWEN_ERROR_BAD_PIN_2_LEFT   (-73)

Definition at line 114 of file error.h.

◆ GWEN_ERROR_BAD_SIZE

#define GWEN_ERROR_BAD_SIZE   (-60)

Definition at line 100 of file error.h.

Referenced by GWEN_Crypt__KeyDataFromText(), and GWEN_Error_SimpleToString().

◆ GWEN_ERROR_BAD_SOCKETTYPE

#define GWEN_ERROR_BAD_SOCKETTYPE   (-32)

Definition at line 69 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_BROKEN_PIPE

#define GWEN_ERROR_BROKEN_PIPE   (-39)

Definition at line 75 of file error.h.

Referenced by GWEN_Error_SimpleToString(), and GWEN_SyncIo_Write().

◆ GWEN_ERROR_BUFFER_OVERFLOW

◆ GWEN_ERROR_CLOSE

#define GWEN_ERROR_CLOSE   (-54)

Definition at line 93 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_CONN_REFUSED

#define GWEN_ERROR_CONN_REFUSED   (-106)

Definition at line 127 of file error.h.

◆ GWEN_ERROR_COULD_NOT_LOAD

#define GWEN_ERROR_COULD_NOT_LOAD   (-49)

Definition at line 87 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_COULD_NOT_RESOLVE

#define GWEN_ERROR_COULD_NOT_RESOLVE   (-50)

Definition at line 88 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_DECRYPT

#define GWEN_ERROR_DECRYPT   (-63)

Definition at line 102 of file error.h.

Referenced by _decodeData(), and GWEN_Error_SimpleToString().

◆ GWEN_ERROR_DEFAULT_VALUE

#define GWEN_ERROR_DEFAULT_VALUE   (-76)

Definition at line 117 of file error.h.

Referenced by GWEN_Gui_CGui__input().

◆ GWEN_ERROR_ENCRYPT

#define GWEN_ERROR_ENCRYPT   (-62)

Definition at line 101 of file error.h.

Referenced by _encodeData(), and GWEN_Error_SimpleToString().

◆ GWEN_ERROR_EOF

◆ GWEN_ERROR_FOUND

#define GWEN_ERROR_FOUND   (-102)

Definition at line 122 of file error.h.

◆ GWEN_ERROR_GENERIC

#define GWEN_ERROR_GENERIC   (-1)

Definition at line 62 of file error.h.

Referenced by _addOneSubTargetForTarget(), _addOrBuildTargetSources(), _checkAgainstGivenOption(), _checkPlugin(), _checkRunningQueue(), _checkWaitingQueue(), _copyLink(), _csvExport(), _daysInMonth(), _distributeBufferContent(), _getAndCheckRequiredGwenVersion(), _getLocalizedLongDescrByFormat(), _getLongDescrByFormat(), _parseArg(), _parseDefine(), _parseDefines(), _parseDep(), _parseIfNotVarMatches(), _parseIfVarMatches(), _parseLib(), _parseProg(), _parseSetVar(), _parseWriteFile(), _readAndStoreNextVersionPart(), _readArgsIntoDb(), _readFileListFromTagNode(), _readFilesFromDataNode(), _readIntUntilPointOrHyphen(), _readModifyWriteFile(), _setCharValueByPath(), _startCommand(), _startConnect(), _startConnect(), _startListen(), _varHasValue(), _writeStaticLibHelper(), QT4_GuiDialog::closeDialog(), QT5_GuiDialog::closeDialog(), FOX16_Gui::execDialog(), QT4_Gui::execDialog(), QT5_Gui::execDialog(), QT4_GuiDialog::execute(), QT5_GuiDialog::execute(), GWB_BuildCtx_Run(), GWB_InstallFiles(), GWB_MkDist(), GWB_ParseBuildFiles(), GWB_ParseOption(), GWB_Parser_ParseSubdirs(), GWB_ParseTarget(), GWB_Utils_CopyFile(), GWB_Utils_VersionStringToInt(), GWBUILD_MakeBuildersForTargets(), GWEN_Buffer_AddTests(), GWEN_Buffer_AppendArgs(), GWEN_Crypt3_ModuleInit(), GWEN_Crypt_KeyAes128_SetIV(), GWEN_Crypt_KeyAes256_SetIV(), GWEN_Crypt_KeyDes3K_SetIV(), GWEN_Crypt_KeyRsa__getNamedElement(), GWEN_Crypt_KeyRsa__MpiToBuffer(), GWEN_Crypt_KeyRsa__ReadMpi(), GWEN_Crypt_KeyRsa__WriteMpi(), GWEN_Crypt_KeyRsa_GeneratePair(), GWEN_Crypt_KeyRsa_GetExponent(), GWEN_Crypt_KeyRsa_GetModulus(), GWEN_Crypt_KeyRsa_GetSecretExponent(), GWEN_Crypt_KeySym_Decipher(), GWEN_Crypt_KeySym_Encipher(), GWEN_Crypt_KeySym_SetKeyData(), GWEN_Crypt_TokenFile__Sign(), GWEN_Crypt_TokenFile__Verify(), GWEN_Crypt_TokenOHBCI__DecryptFile16(), GWEN_Crypt_TokenOHBCI__EnsurePassword(), GWEN_Crypt_TokenOHBCI_Write(), GWEN_CryptMgr_Encrypt(), GWEN_CryptMgrKeys_DecryptKey(), GWEN_CryptMgrKeys_EncryptKey(), GWEN_CryptMgrKeys_SignData(), GWEN_CryptMgrKeys_VerifyData(), GWEN_DB__ReadValues(), GWEN_DB_ReadFromFastBuffer(), GWEN_DB_WriteGroupToIoLayer(), GWEN_DBIO_OldDb_Export(), GWEN_DlgProgress_AddLogText(), GWEN_Error_SimpleToString(), GWEN_Gui_CGui__input(), GWEN_Gui_ConvertString(), GWEN_Gui_Internal_GetSyncIo(), GWEN_Gui_ModuleInit(), GWEN_I18N_BindTextDomain_Codeset(), GWEN_I18N_BindTextDomain_Dir(), GWEN_IdList64_AddTests(), GWEN_MDigest_Gc_Begin(), GWEN_MDigest_Gc_End(), GWEN_Msg_AddBytes(), GWEN_Msg_AddUint16(), GWEN_Msg_AddUint32(), GWEN_Msg_AddUint64(), GWEN_Msg_AddUint8(), GWEN_Msg_WriteUint16At(), GWEN_Msg_WriteUint32At(), GWEN_Msg_WriteUint64At(), GWEN_Msg_WriteUint8At(), GWEN_MultilayerEndpoint_StartConnect(), GWEN_Padd_ApplyPaddAlgo(), GWEN_Padd_PaddWithIso9796_2(), GWEN_Padd_PaddWithPkcs1Bt1(), GWEN_Padd_PaddWithPkcs1Bt2(), GWEN_Padd_UnapplyPaddAlgo(), GWEN_PasswordStore_GetTokenList(), GWEN_Process_RunCommandWaitAndGather(), GWEN_SimplePtrList_AddTests(), GWEN_SyncIo_Http_Read(), GWEN_SyncIo_Http_Write(), GWEN_SyncIo_Tls_GetPeerCert(), GWEN_SyncIo_Tls_Prepare(), GWEN_Tag16_AddTests(), GWEN_Tag16_EndTagInBuffer(), GWEN_TcpcEndpoint_StartConnect(), GWEN_TcpdEndpoint_StartListening(), GWEN_Text_ConvertCharset(), GWEN_Timestamp_AddTests(), GWEN_XmlCommanderLibXml_SetXmlCharValue(), FOX16_GuiDialog::onSelChanged(), FOX16_GuiDialog::onSelCommand(), FOX16_Gui::openDialog(), QT4_Gui::openDialog(), QT4_GuiDialog::openDialog(), QT5_Gui::openDialog(), QT5_GuiDialog::openDialog(), QT4_GuiDialog::runDialog(), QT5_GuiDialog::runDialog(), FOX16_GuiDialog::setCharProperty(), and FOX16_GuiDialog::setIntProperty().

◆ GWEN_ERROR_HOST_NOT_FOUND

#define GWEN_ERROR_HOST_NOT_FOUND   (-43)

Definition at line 80 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_IN_PROGRESS

◆ GWEN_ERROR_INTERNAL

◆ GWEN_ERROR_INTERRUPTED

◆ GWEN_ERROR_INVALID

#define GWEN_ERROR_INVALID   (-6)

Definition at line 67 of file error.h.

Referenced by _checkStringListOption(), _checkStringOption(), _convertAndSetCharValue(), _convertAndSetCharValue(), _csvExport(), _csvImport(), _dbEnter(), _dbForEvery(), _dbIfCharDataMatches(), _dbIfHasCharData(), _dbIfNotCharDataMatches(), _dbIfNotHasCharData(), _dbIfNotPathExists(), _dbIfPathExists(), _ensureWritePos(), _handleChildren_fromDb(), _handleChildren_toDb(), _handleChildren_toDb(), _handleDbCreateAndEnterGroup(), _handleDbCreateAndEnterGroup(), _handleDbCreateAndEnterTempGroup(), _handleDbCreateAndEnterTempGroup(), _handleDbSetCharValue_internal(), _handleDbSetCharValue_internal(), _handleStringArgument(), _handleXmlEnter(), _handleXmlEnter(), _handleXmlForEvery(), _handleXmlForEvery(), _handleXmlIfCharDataMatches(), _handleXmlIfCharDataMatches(), _handleXmlIfHasCharData(), _handleXmlIfHasCharData(), _handleXmlIfNotCharDataMatches(), _handleXmlIfNotCharDataMatches(), _handleXmlIfNotHasCharData(), _handleXmlIfNotHasCharData(), _handleXmlIfNotPathExists(), _handleXmlIfNotPathExists(), _handleXmlIfPathExists(), _handleXmlIfPathExists(), _readArgsIntoDb(), _xmlCreateAndEnterElement(), _xmlSetCharValue(), Qt4_W_TabBook::addChildGuiWidget(), Qt5_W_TabBook::addChildGuiWidget(), COCOA_Gui_CloseDialog(), Cocoa_Gui_Dialog_Run(), COCOA_Gui_OpenDialog(), CocoaGui_Dialog_SetupTree(), CocoaGui_WCheckBox_SetCharProperty(), CocoaGui_WCheckBox_SetIntProperty(), CocoaGui_WComboBox_SetCharProperty(), CocoaGui_WComboBox_SetIntProperty(), CocoaGui_WDialog_SetCharProperty(), CocoaGui_WDialog_SetIntProperty(), CocoaGui_WGridLayout_SetCharProperty(), CocoaGui_WGridLayout_SetIntProperty(), CocoaGui_WGroupBox_SetCharProperty(), CocoaGui_WGroupBox_SetIntProperty(), CocoaGui_WHLayout_SetCharProperty(), CocoaGui_WHLayout_SetIntProperty(), CocoaGui_WHLine_SetIntProperty(), CocoaGui_WHSpacer_SetIntProperty(), CocoaGui_WLabel_SetCharProperty(), CocoaGui_WLabel_SetIntProperty(), CocoaGui_WLineEdit_SetCharProperty(), CocoaGui_WLineEdit_SetIntProperty(), CocoaGui_WListBox_SetCharProperty(), CocoaGui_WListBox_SetIntProperty(), CocoaGui_WProgressBar_SetCharProperty(), CocoaGui_WProgressBar_SetIntProperty(), CocoaGui_WPushButton_SetCharProperty(), CocoaGui_WPushButton_SetIntProperty(), CocoaGui_WRadioButton_SetCharProperty(), CocoaGui_WRadioButton_SetIntProperty(), CocoaGui_WScrollArea_SetCharProperty(), CocoaGui_WScrollArea_SetIntProperty(), CocoaGui_WSpinBox_SetCharProperty(), CocoaGui_WSpinBox_SetIntProperty(), CocoaGui_WStack_SetCharProperty(), CocoaGui_WStack_SetIntProperty(), CocoaGui_WTabBook_SetCharProperty(), CocoaGui_WTabBook_SetIntProperty(), CocoaGui_WTextBrowser_SetCharProperty(), CocoaGui_WTextBrowser_SetIntProperty(), CocoaGui_WTextEdit_SetCharProperty(), CocoaGui_WTextEdit_SetIntProperty(), CocoaGui_WVLayout_SetCharProperty(), CocoaGui_WVLayout_SetIntProperty(), CocoaGui_WVLine_SetIntProperty(), CocoaGui_WVSpacer_SetIntProperty(), Qt4_W_ListBox::getIntProperty(), Qt5_W_ListBox::getIntProperty(), GTK2_Gui_CloseDialog(), GTK2_Gui_Dialog_Run(), GTK2_Gui_OpenDialog(), Gtk2Gui_Dialog_SetupTree(), Gtk2Gui_WCheckBox_SetCharProperty(), Gtk2Gui_WCheckBox_SetIntProperty(), Gtk2Gui_WComboBox_SetCharProperty(), Gtk2Gui_WComboBox_SetIntProperty(), Gtk2Gui_WDialog_SetCharProperty(), Gtk2Gui_WDialog_SetIntProperty(), Gtk2Gui_WGridLayout_SetCharProperty(), Gtk2Gui_WGridLayout_SetIntProperty(), Gtk2Gui_WGroupBox_SetCharProperty(), Gtk2Gui_WGroupBox_SetIntProperty(), Gtk2Gui_WHLayout_SetCharProperty(), Gtk2Gui_WHLayout_SetIntProperty(), Gtk2Gui_WHLine_SetIntProperty(), Gtk2Gui_WHSpacer_SetIntProperty(), Gtk2Gui_WLabel_SetCharProperty(), Gtk2Gui_WLabel_SetIntProperty(), Gtk2Gui_WLineEdit_SetCharProperty(), Gtk2Gui_WLineEdit_SetIntProperty(), Gtk2Gui_WListBox_SetCharProperty(), Gtk2Gui_WListBox_SetIntProperty(), Gtk2Gui_WProgressBar_SetCharProperty(), Gtk2Gui_WProgressBar_SetIntProperty(), Gtk2Gui_WPushButton_SetCharProperty(), Gtk2Gui_WPushButton_SetIntProperty(), Gtk2Gui_WRadioButton_SetCharProperty(), Gtk2Gui_WRadioButton_SetIntProperty(), Gtk2Gui_WScrollArea_SetCharProperty(), Gtk2Gui_WScrollArea_SetIntProperty(), Gtk2Gui_WSpinBox_SetCharProperty(), Gtk2Gui_WSpinBox_SetIntProperty(), Gtk2Gui_WStack_SetCharProperty(), Gtk2Gui_WStack_SetIntProperty(), Gtk2Gui_WTabBook_SetCharProperty(), Gtk2Gui_WTabBook_SetIntProperty(), Gtk2Gui_WTextBrowser_SetCharProperty(), Gtk2Gui_WTextBrowser_SetIntProperty(), Gtk2Gui_WTextEdit_SetCharProperty(), Gtk2Gui_WTextEdit_SetIntProperty(), Gtk2Gui_WVLayout_SetCharProperty(), Gtk2Gui_WVLayout_SetIntProperty(), Gtk2Gui_WVLine_SetIntProperty(), Gtk2Gui_WVSpacer_SetIntProperty(), GTK3_Gui_CloseDialog(), GTK3_Gui_Dialog_Run(), GTK3_Gui_OpenDialog(), Gtk3Gui_Dialog_SetupTree(), Gtk3Gui_WCheckBox_SetCharProperty(), Gtk3Gui_WCheckBox_SetIntProperty(), Gtk3Gui_WComboBox_SetCharProperty(), Gtk3Gui_WComboBox_SetIntProperty(), Gtk3Gui_WDialog_SetCharProperty(), Gtk3Gui_WDialog_SetIntProperty(), Gtk3Gui_WGridLayout_SetCharProperty(), Gtk3Gui_WGridLayout_SetIntProperty(), Gtk3Gui_WGroupBox_SetCharProperty(), Gtk3Gui_WGroupBox_SetIntProperty(), Gtk3Gui_WHLayout_SetCharProperty(), Gtk3Gui_WHLayout_SetIntProperty(), Gtk3Gui_WHLine_SetIntProperty(), Gtk3Gui_WHSpacer_SetIntProperty(), Gtk3Gui_WHSplitter_SetIntProperty(), Gtk3Gui_WLabel_SetCharProperty(), Gtk3Gui_WLabel_SetIntProperty(), Gtk3Gui_WLineEdit_SetCharProperty(), Gtk3Gui_WLineEdit_SetIntProperty(), Gtk3Gui_WListBox_SetCharProperty(), Gtk3Gui_WListBox_SetIntProperty(), Gtk3Gui_WProgressBar_SetCharProperty(), Gtk3Gui_WProgressBar_SetIntProperty(), Gtk3Gui_WPushButton_SetCharProperty(), Gtk3Gui_WPushButton_SetIntProperty(), Gtk3Gui_WRadioButton_SetCharProperty(), Gtk3Gui_WRadioButton_SetIntProperty(), Gtk3Gui_WScrollArea_SetCharProperty(), Gtk3Gui_WScrollArea_SetIntProperty(), Gtk3Gui_WSpinBox_SetCharProperty(), Gtk3Gui_WSpinBox_SetIntProperty(), Gtk3Gui_WStack_SetCharProperty(), Gtk3Gui_WStack_SetIntProperty(), Gtk3Gui_WTabBook_SetCharProperty(), Gtk3Gui_WTabBook_SetIntProperty(), Gtk3Gui_WTextBrowser_SetCharProperty(), Gtk3Gui_WTextBrowser_SetIntProperty(), Gtk3Gui_WTextEdit_SetCharProperty(), Gtk3Gui_WTextEdit_SetIntProperty(), Gtk3Gui_WVLayout_SetCharProperty(), Gtk3Gui_WVLayout_SetIntProperty(), Gtk3Gui_WVLine_SetIntProperty(), Gtk3Gui_WVSpacer_SetIntProperty(), Gtk3Gui_WVSplitter_SetIntProperty(), GWEN_Buffer_Relinquish(), GWEN_Buffer_RemoveRoom(), GWEN_Crypt__TransformFromBin(), GWEN_Crypt__TransformFromFPIN2(), GWEN_Crypt__TransformToBCD(), GWEN_Crypt__TransformToBin(), GWEN_Crypt__TransformToFPIN2(), GWEN_Crypt_KeyRsa_GeneratePair2(), GWEN_Crypt_KeyRsa_toDb(), GWEN_Crypt_KeySym_SetKeyData(), GWEN_Crypt_Token__CreatePasswordName(), GWEN_Crypt_TokenFile__Decipher(), GWEN_Crypt_TokenFile__Encipher(), GWEN_Crypt_TokenFile__SetContext(), GWEN_Crypt_TokenFile__SetKeyInfo(), GWEN_Crypt_TokenFile__Sign(), GWEN_Crypt_TokenFile__Verify(), GWEN_Crypt_TokenFile_Create(), GWEN_Crypt_TokenOHBCI_Encode(), GWEN_Crypt_TransformPin(), GWEN_DB_SetCharValueInNode(), GWEN_DBIO__XmlDb_ImportGroup(), GWEN_DBIO__XmlDb_ImportVar(), GWEN_DBIO_XmlDb__ExportVar(), GWEN_Gui_CGui_InputBox(), GWEN_Gui_DialogBased_ProgressAdvance(), GWEN_Gui_DialogBased_ProgressEnd(), GWEN_Gui_DialogBased_ProgressLog(), GWEN_Gui_DialogBased_ProgressSetTotal(), GWEN_Gui_Internal_GetSyncIo(), GWEN_HttpSession_Init(), GWEN_HttpSession_RecvCommand(), GWEN_HttpSession_SendStatus(), GWEN_IdList64_AddId(), GWEN_MDigest_PBKDF2(), GWEN_Msg_AddString(), GWEN_Msg_AddStringWithTrailingNull(), GWEN_Msg_WriteBytesAt(), GWEN_Padd__UnpaddWithPkcs1Bt1Or2(), GWEN_Padd_ApplyPaddAlgo(), GWEN_Padd_PaddWithIso9796_2(), GWEN_Padd_PaddWithPkcs1Bt1(), GWEN_Padd_PaddWithPkcs1Bt2(), GWEN_Padd_UnpaddWithIso9796_2(), GWEN_PathManager_AddRelPath(), GWEN_PathManager_DefinePath(), GWEN_PathManager_InsertRelPath(), GWEN_Sar_AddAndDigestFile(), GWEN_Sar_AddFile(), GWEN_Sar_ExtractAndDigestFile(), GWEN_Sar_Sign(), GWEN_Sar_Verify(), GWEN_Signal_Connect(), GWEN_Signal_Disconnect(), GWEN_SignalObject_AddSignal(), GWEN_SignalObject_AddSlot(), GWEN_SimplePtrList_DecUserCounter(), GWEN_SmallTresor_Decrypt(), GWEN_SyncIo_Buffered_ReadLinesToStringList(), GWEN_SyncIo_Http_ParseCommand(), GWEN_SyncIo_Http_ParseStatus(), GWEN_SyncIo_Http_Write(), GWEN_SyncIo_Socket_Connect(), GWEN_SyncIo_Socket_Read(), GWEN_Tag16_StartTagInBuffer(), GWEN_Time_AddSeconds(), GWEN_Time_SubSeconds(), GWEN_XmlCtxStore_AddAttr(), GWEN_XmlCtxStore_AddData(), GWEN_XmlCtxStore_EndTag(), GWEN_XmlCtxStore_StartTag(), GWEN_XMLNode_SetCharValueByPath(), FOX16_GuiDialog::setCharProperty(), Qt4_W_CheckBox::setCharProperty(), Qt4_W_ComboBox::setCharProperty(), Qt4_W_Dialog::setCharProperty(), Qt4_W_Label::setCharProperty(), Qt4_W_LineEdit::setCharProperty(), Qt4_W_PushButton::setCharProperty(), Qt4_W_RadioButton::setCharProperty(), Qt4_W_TextBrowser::setCharProperty(), Qt4_W_TextEdit::setCharProperty(), Qt4_W_Widget::setCharProperty(), Qt5_W_CheckBox::setCharProperty(), Qt5_W_ComboBox::setCharProperty(), Qt5_W_Dialog::setCharProperty(), Qt5_W_Label::setCharProperty(), Qt5_W_LineEdit::setCharProperty(), Qt5_W_PushButton::setCharProperty(), Qt5_W_RadioButton::setCharProperty(), Qt5_W_TextBrowser::setCharProperty(), Qt5_W_TextEdit::setCharProperty(), Qt5_W_Widget::setCharProperty(), FOX16_GuiDialog::setIntProperty(), Qt4_W_ListBox::setIntProperty(), Qt4_W_Widget::setIntProperty(), Qt5_W_ListBox::setIntProperty(), Qt5_W_Widget::setIntProperty(), TestFramework_Run(), and Typemaker2_Type_readXml().

◆ GWEN_ERROR_IO

◆ GWEN_ERROR_LOCK

◆ GWEN_ERROR_MEMORY_FULL

◆ GWEN_ERROR_NET_UNREACHABLE

#define GWEN_ERROR_NET_UNREACHABLE   (-107)

Definition at line 128 of file error.h.

◆ GWEN_ERROR_NO_ADDRESS

#define GWEN_ERROR_NO_ADDRESS   (-44)

◆ GWEN_ERROR_NO_DATA

◆ GWEN_ERROR_NO_KEY

#define GWEN_ERROR_NO_KEY   (-74)

Definition at line 115 of file error.h.

Referenced by GWEN_Crypt_TokenFile__Verify().

◆ GWEN_ERROR_NO_RECOVERY

#define GWEN_ERROR_NO_RECOVERY   (-45)

Definition at line 82 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_NOT_AVAILABLE

#define GWEN_ERROR_NOT_AVAILABLE   (-3)

◆ GWEN_ERROR_NOT_CONNECTED

◆ GWEN_ERROR_NOT_FOUND

◆ GWEN_ERROR_NOT_IMPLEMENTED

#define GWEN_ERROR_NOT_IMPLEMENTED   (-67)

Definition at line 108 of file error.h.

Referenced by _checkPlugin(), _initSyncIo(), _logMessageToFunction(), _runModule(), _runTest(), GWB_Builder_AddBuildCmd(), GWB_Builder_IsAcceptableInput(), GWEN_ConfigMgr_DeleteGroup(), GWEN_ConfigMgr_GetGroup(), GWEN_ConfigMgr_GetUniqueId(), GWEN_ConfigMgr_HasGroup(), GWEN_ConfigMgr_ListGroups(), GWEN_ConfigMgr_ListSubGroups(), GWEN_ConfigMgr_LockGroup(), GWEN_ConfigMgr_MkUniqueIdFromId(), GWEN_ConfigMgr_SetGroup(), GWEN_ConfigMgr_UnlockGroup(), GWEN_Crypt_Key_Decipher(), GWEN_Crypt_Key_Encipher(), GWEN_Crypt_Key_Sign(), GWEN_Crypt_Key_Verify(), GWEN_Crypt_Token_ActivateKey(), GWEN_Crypt_Token_ChangePin(), GWEN_Crypt_Token_Close(), GWEN_Crypt_Token_Create(), GWEN_Crypt_Token_Decipher(), GWEN_Crypt_Token_Encipher(), GWEN_Crypt_Token_GenerateKey(), GWEN_Crypt_Token_GetContextIdList(), GWEN_Crypt_Token_GetKeyIdList(), GWEN_Crypt_Token_Open(), GWEN_Crypt_Token_Plugin_CheckToken(), GWEN_Crypt_Token_SetContext(), GWEN_Crypt_Token_SetKeyInfo(), GWEN_Crypt_Token_Sign(), GWEN_Crypt_Token_Verify(), GWEN_Crypt_TokenOHBCI__EnsurePassword(), GWEN_CryptMgr_DecryptKey(), GWEN_CryptMgr_EncryptKey(), GWEN_CryptMgr_SignData(), GWEN_CryptMgr_VerifyData(), GWEN_Dialog_SetCharProperty(), GWEN_Dialog_SetIntProperty(), GWEN_Gui_CheckCert(), GWEN_Gui_CloseDialog(), GWEN_Gui_ExecDialog(), GWEN_Gui_GetFileName(), GWEN_Gui_GetPassword(), GWEN_Gui_GetSyncIo(), GWEN_Gui_InputBox(), GWEN_Gui_KeyDataFromText_OpenSSL(), GWEN_Gui_MessageBox(), GWEN_Gui_OpenDialog(), GWEN_Gui_Print(), GWEN_Gui_ProgressEnd(), GWEN_Gui_ReadDialogPrefs(), GWEN_Gui_RunDialog(), GWEN_Gui_SetPasswordStatus(), GWEN_Gui_WriteDialogPrefs(), GWEN_HttpSession_Init(), GWEN_MDigest_Begin(), GWEN_MDigest_End(), GWEN_MDigest_Update(), GWEN_MultiCache_Type_AttachData(), GWEN_MultiCache_Type_FreeData(), GWEN_Test_Module_Test(), GWEN_Widget_AddChildGuiWidget(), GWEN_Widget_SetCharProperty(), GWEN_Widget_SetIntProperty(), GWEN_XmlCommander_HandleChildren(), HtmlCtx_AddData(), HtmlCtx_EndTag(), HtmlGroup_AddData(), HtmlGroup_EndSubGroup(), HtmlGroup_EndTag(), HtmlGroup_StartTag(), and FOX16_Gui::print().

◆ GWEN_ERROR_NOT_OPEN

◆ GWEN_ERROR_NOT_REGISTERED

#define GWEN_ERROR_NOT_REGISTERED   (-59)

Definition at line 99 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_NOT_SUPPORTED

◆ GWEN_ERROR_OPEN

#define GWEN_ERROR_OPEN   (-5)

Definition at line 66 of file error.h.

Referenced by GWEN_Sar_CreateArchive(), and GWEN_Sar_OpenArchive().

◆ GWEN_ERROR_PARTIAL

#define GWEN_ERROR_PARTIAL   (-56)

Definition at line 95 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_PERMISSIONS

◆ GWEN_ERROR_READ

#define GWEN_ERROR_READ   (-52)

Definition at line 91 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_REMOVED

#define GWEN_ERROR_REMOVED   (-75)

Definition at line 116 of file error.h.

◆ GWEN_ERROR_SIGN

#define GWEN_ERROR_SIGN   (-64)

Definition at line 103 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_SSL

◆ GWEN_ERROR_SSL_PREMATURE_CLOSE

#define GWEN_ERROR_SSL_PREMATURE_CLOSE   (-110)

Definition at line 133 of file error.h.

Referenced by GWEN_SyncIo_Tls_Read().

◆ GWEN_ERROR_SSL_SECURITY

#define GWEN_ERROR_SSL_SECURITY   (-108)

◆ GWEN_ERROR_STARTUP

#define GWEN_ERROR_STARTUP   (-36)

Definition at line 73 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_TIMEOUT

◆ GWEN_ERROR_TRY_AGAIN

#define GWEN_ERROR_TRY_AGAIN   (-46)

Definition at line 83 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_UNKNOWN_DNS_ERROR

#define GWEN_ERROR_UNKNOWN_DNS_ERROR   (-47)

Definition at line 84 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_ERROR_USER_ABORTED

◆ GWEN_ERROR_USEROFFSET

#define GWEN_ERROR_USEROFFSET   (-1000)

Definition at line 136 of file error.h.

◆ GWEN_ERROR_VERIFY

◆ GWEN_ERROR_WRITE

#define GWEN_ERROR_WRITE   (-53)

Definition at line 92 of file error.h.

Referenced by GWEN_Error_SimpleToString().

◆ GWEN_SUCCESS

#define GWEN_SUCCESS   0

Definition at line 60 of file error.h.

Referenced by GWEN_Error_SimpleToString().

Function Documentation

◆ GWEN_Error_SimpleToString()

◆ GWEN_Error_ToString()

GWENHYWFAR_API int GWEN_Error_ToString ( int c,
char * buffer,
int bsize )

Dumps the string corresponding to the given erro code.

Returns
1 detailed error message created, 0 otherwise
Parameters
cerror code
bufferpointer to a buffer to receive the message
bsizesize of that buffer in bytes

Definition at line 78 of file error.c.

References GWEN_Error_SimpleToString().

Here is the call graph for this function: