error.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  $RCSfile$
00003  -------------------
00004  cvs         : $Id: error.h 953 2006-02-24 03:07:59Z aquamaniac $
00005  begin       : Mon Mar 01 2004
00006  copyright   : (C) 2004 by Martin Preuss
00007  email       : martin@libchipcard.de
00008 
00009  ***************************************************************************
00010  *          Please see toplevel file COPYING for license details           *
00011  ***************************************************************************/
00012 
00013 
00014 #ifndef AQBANKING_ERROR_H
00015 #define AQBANKING_ERROR_H
00016 
00017 #include <aqbanking/system.h>
00018 
00019 
00020 #ifdef BUILDING_AQBANKING
00021 # /* building AqBanking */
00022 # if AQBANKING_SYS_IS_WINDOWS
00023 #   /* for windows */
00024 #   ifdef __declspec
00025 #     define AQBANKING_API __declspec (dllexport)
00026 #   else /* if __declspec */
00027 #     define AQBANKING_API
00028 #   endif /* if NOT __declspec */
00029 # else
00030 #   /* for non-win32 */
00031 #   ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00032 #     define AQBANKING_API __attribute__((visibility("default")))
00033 #   else
00034 #     define AQBANKING_API
00035 #   endif
00036 # endif
00037 #else
00038 # /* not building AqBanking */
00039 # if AQBANKING_SYS_IS_WINDOWS
00040 #   /* for windows */
00041 #   ifdef __declspec
00042 #     define AQBANKING_API __declspec (dllimport)
00043 #   else /* if __declspec */
00044 #     define AQBANKING_API
00045 #   endif /* if NOT __declspec */
00046 # else
00047 #   /* for non-win32 */
00048 #   define AQBANKING_API
00049 # endif
00050 #endif
00051 
00052 #ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
00053 # define AQBANKING_EXPORT __attribute__((visibility("default")))
00054 # define AQBANKING_NOEXPORT __attribute__((visibility("hidden")))
00055 #else
00056 # define AQBANKING_EXPORT
00057 # define AQBANKING_NOEXPORT
00058 #endif
00059 
00060 
00061 #ifndef AQBANKING_NOWARN_DEPRECATED
00062 # ifdef __GNUC__
00063 #  define AQBANKING_DEPRECATED __attribute((__deprecated__))
00064 # else
00065 #  define AQBANKING_DEPRECATED
00066 # endif
00067 # else
00068 #  define AQBANKING_DEPRECATED
00069 #endif
00070 
00071 #define AQBANKING_LOGDOMAIN "aqbanking"
00072 
00073 
00078 #define AB_ERROR_SUCCESS           0
00079 #define AB_ERROR_GENERIC         (-1)
00080 #define AB_ERROR_NOT_SUPPORTED   (-2)
00081 #define AB_ERROR_NOT_AVAILABLE   (-3)
00082 #define AB_ERROR_BAD_CONFIG_FILE (-4)
00083 #define AB_ERROR_INVALID         (-5)
00084 #define AB_ERROR_NETWORK         (-6)
00085 #define AB_ERROR_NOT_FOUND       (-7)
00086 #define AB_ERROR_EMPTY           (-8)
00087 #define AB_ERROR_USER_ABORT      (-9)
00088 #define AB_ERROR_FOUND           (-10)
00089 #define AB_ERROR_NO_DATA         (-11)
00090 #define AB_ERROR_NOFN            (-12)
00091 #define AB_ERROR_UNKNOWN_ACCOUNT (-13)
00092 #define AB_ERROR_NOT_INIT        (-14)
00093 #define AB_ERROR_SECURITY        (-15)
00094 #define AB_ERROR_BAD_DATA        (-16)
00095 #define AB_ERROR_UNKNOWN         (-17)
00096 #define AB_ERROR_ABORTED         (-18)
00097 #define AB_ERROR_DEFAULT_VALUE   (-19)
00098 #define AB_ERROR_BAD_PIN         (-20)
00099 #define AB_ERROR_IO              (-21)
00100 
00101 #define AB_ERROR_USER1           (-128)
00102 #define AB_ERROR_USER2           (-129)
00103 #define AB_ERROR_USER3           (-130)
00104 #define AB_ERROR_USER4           (-131)
00105 
00110 #endif /* AQBANKING_ERROR_H */
00111 
00112 

Generated on Sun Apr 29 17:23:04 2007 for aqbanking by  doxygen 1.5.1