13 #ifndef LT_UTILSTATUS_H 14 #define LT_UTILSTATUS_H 31 LT_STATUSSTRING_ADD(911, "status test int32=%d")
32 LT_STATUSSTRING_ADD(912, "status test
double=%f")
33 LT_STATUSSTRING_ADD(913, "status test
string=%s")
34 LT_STATUSSTRING_ADD(914, "status test uint=%u uint=%u
double=%f
string=%s
string=%s
string=%s foo")
35 LT_STATUSSTRING_ADD(915, "status test filespec=%F")
38 #define LTUTIL_STATUS_BASE 3000 42 #define LTUTIL_STATUS_MAX 3999 45 #define LTUTIL_STS_NULL_POINTER 3001 47 #define LTUTIL_STS_NOT_FOUND 3002 51 #define LTUTIL_STS_CRITICAL_SECTION_INIT 3010 55 #define LTUTIL_STS_MUTEX_CLOSE_ERROR 3020 57 #define LTUTIL_STS_MUTEX_LOCK_ERROR 3021 59 #define LTUTIL_STS_MUTEX_UNLOCK_ERROR 3022 63 #define LTUTIL_STS_DELETE_ERROR 3030 65 #define LTUTIL_STS_MOVE_ERROR 3031 67 #define LTUTIL_STS_CREATEDIR_ERROR 3032 69 #define LTUTIL_STS_INVALIDFILESPEC_ERROR 3033 71 #define LTUTIL_STS_ERR_TEMPNAM_FAIL 3034 73 #define LTUTIL_STS_FILE_NOT_FOUND 3035 75 #define LTUTIL_STS_DIR_NOT_FOUND 3036 77 #define LTUTIL_STS_ERR_MKTEMP_FAIL 3037 79 #define LTUTIL_STS_ERR_STAT_FAIL 3038 81 #define LTUTIL_STS_ERR_CHMOD_FAIL 3039 86 #define LT_STS_UTIL_ExtractRegistryText 3040 90 #define LTUTIL_STS_InvalidProtocol 3050 94 #define LT_STS_UTIL_ShellRedirectCannotOpenFile 3060 96 #define LT_STS_UTIL_ShellRedirectDUPError1 3061 98 #define LT_STS_UTIL_ShellRedirectDUPError2 3062 100 #define LT_STS_UTIL_ShellRedirectDUPError3 3063 102 #define LT_STS_UTIL_ShellRedirectCannotCloseFile 3064 107 #define LT_STS_UTIL_StatusDataInitialized 3070 110 #define LT_STS_UTIL_StatusDataTypeError 3071 114 #define LT_STS_UTIL_PackageHomeNotFound 3080 116 #define LT_STS_UTIL_PackageDirNotFound 3081 118 #define LT_STS_UTIL_PackageFileNotFound 3082 120 #define LT_STS_UTIL_PackageHomeRegKeyNotFound 3083 122 #define LT_STS_UTIL_PackageHomeEnvVarUndefined 3084 126 #define LT_STS_UTIL_TimeUnknown 3090 130 #define LT_STS_UTIL_LocaleNotSet 3100 134 #define LT_STS_UTIL_ThreadAlreadyRunning 3110 138 #define LT_STS_ForkError 3111 142 #endif // LT_UTILSTATUS_H #define LT_STS_Failure
status code indicating failure
#define LT_STS_UTIL_PackageHomeNotFound
#define LTUTIL_STS_ERR_CHMOD_FAIL
#define LT_STS_UTIL_ExtractRegistryText
#define LT_STS_UTIL_PackageHomeEnvVarUndefined
#define LT_STS_UTIL_TimeUnknown
#define LTUTIL_STS_ERR_MKTEMP_FAIL
#define LTUTIL_STS_DIR_NOT_FOUND
#define LT_STS_NullPointer
status code indicating bad NULL pointer dereference
#define LTUTIL_STS_MUTEX_LOCK_ERROR
#define LT_STS_NotReached
status code indicating unreachable code
#define LT_STS_BadParam
status code indicating bad function parameter
#define LT_STS_UTIL_StatusDataInitialized
indicates StatusData initialization error
#define LT_STS_UTIL_StatusDataTypeError
indicates StatusData data type error
#define LTUTIL_STS_CREATEDIR_ERROR
#define LTUTIL_STS_NOT_FOUND
#define LTUTIL_STS_MUTEX_CLOSE_ERROR
#define LT_STS_BadContext
status code indicating bad calling context for function
#define LT_STS_UTIL_ShellRedirectDUPError2
#define LT_STS_UTIL_ThreadAlreadyRunning
#define LTUTIL_STS_MUTEX_UNLOCK_ERROR
#define LT_STS_UTIL_PackageHomeRegKeyNotFound
#define LTUTIL_STS_InvalidProtocol
#define LTUTIL_STATUS_MAX
Max value for util library error codes.
#define LTUTIL_STS_NULL_POINTER
#define LTUTIL_STATUS_BASE
Base value for util library error codes.
#define LT_STS_UTIL_ShellRedirectDUPError3
#define LT_STS_Success
status code indicating success
#define LT_STATUSSTRING_ADD(NUM, STR)
#define LT_STS_UTIL_ShellRedirectCannotOpenFile
#define LT_STS_OutOfMemory
status code indicating new/malloc/calloc failed
#define LTUTIL_STS_MOVE_ERROR
#define LTUTIL_STS_CRITICAL_SECTION_INIT
#define LTUTIL_STS_INVALIDFILESPEC_ERROR
#define LT_STS_UTIL_PackageFileNotFound
#define LT_STS_UTIL_PackageDirNotFound
#define LT_STS_UTIL_ShellRedirectDUPError1
#define LT_STS_UTIL_LocaleNotSet
#define LT_STS_UTIL_ShellRedirectCannotCloseFile
#define LT_STS_ForeignError
status code indicating 3rd-party library error
#define LTUTIL_STS_ERR_TEMPNAM_FAIL
Include file for all LizardTech sources.
#define LTUTIL_STS_FILE_NOT_FOUND
#define LTUTIL_STS_ERR_STAT_FAIL
#define LTUTIL_STS_DELETE_ERROR
#define LT_STS_Unimplemented
Status code indicating that the called function has not been implemented.