LLSymbols
LLSymbolsDefs.h
Go to the documentation of this file.
1 #pragma once
2 
3 /* management of the version components:
4  - MAJOR: a change here means a total incompability of the protocol. must match exactly between client and server, otherwise the client will not connect
5  - MINOR: a change here means that the protocol has been changed. this also correspond to a new stable branch (or a beta from trunk), so it usually a bigger change
6  - REVISION: a change here means that the protocol has been changed. this is inside the same stable branch, so it is usually a smaller change
7  - BUILD: a change here means only a bugfix in the client and/or the server, without any change in the protol
8 
9  MAJOR.MINOR.REVISION is in fact the version of the protocol. a client with same MAJOR but higher MINOR.REVISION can connect, with reserve.
10 
11  MAJOR.MINOR components also give the name to corresponding stable branch, e.g. 3.0.x.x, 3.2.x.x, etc.
12  in this way it is possible to increase the protocol version inside the same stable branch, to implement smaller additions.
13 */
14 
15 #define LLSYMBOLS_VERSION_MAJOR 3
16 #define LLSYMBOLS_VERSION_MINOR 4
17 #define LLSYMBOLS_VERSION_REVISION 0
18 #define LLSYMBOLS_VERSION_BUILD 12
19 
21 #define LLSYMTAB_MAX_SUPPORTED_VERSION_MAJOR 1
22 
23 #define LLSYM_MAX_STRING (260) // massima lunghezza stringhe
24 
25 typedef enum _LLSymResult
26 {
28  symResOk = 0,
146 
148 typedef enum _LLSymTypeProperty
149 {
151  LLSymTypeIsBasic = 0x00000001,
153  LLSymTypeIsComplex = 0x00000002,
155  LLSymTypeIsString = 0x00000004,
157  LLSymTypeIsArray = 0x00000008,
159  LLSymTypeIsStruct = 0x00000010,
163  LLSymTypeIsNumeric = 0x00000040,
165  LLSymTypeIsSigned = 0x00000080,
167  LLSymTypeIsInteger = 0x00000100,
169 
170 typedef uint32_t addr32_t;
171 typedef uint64_t addr64_t;
172 
173 #ifndef LLSYM_TARGET64
174  #if (defined(WIN32) && !defined(WINCE)) || ARCHITECTURE_PTR_SIZE == 64
175  // on windows platform (32bit and 64bit) and all 64bit native platforms LLSymbols is always built with 64bit compatibility
176  #define LLSYM_TARGET64
177  #endif
178 #endif
179 
180 #if defined(LLSYM_TARGET64)
181  // support for 64bit target addresses
182  typedef addr64_t llsym_addr_t;
183 #else
184  // target 32bit addresses only (default for retrocompatibility)
186 #endif
187 
188 
190 typedef enum _LLSymTyVar
191 {
231 
_LLSymTyVar
_LLSymTyVar
Definition: LLSymbolsDefs.h:191
LLSymTypeIsNumeric
@ LLSymTypeIsNumeric
Definition: LLSymbolsDefs.h:163
symResInvalidGroupSize
@ symResInvalidGroupSize
Definition: LLSymbolsDefs.h:112
symResAddressMismatch32vs64
@ symResAddressMismatch32vs64
Definition: LLSymbolsDefs.h:78
LLSymTyVarLWord
@ LLSymTyVarLWord
Definition: LLSymbolsDefs.h:219
symResHandleAlreadyExists
@ symResHandleAlreadyExists
Definition: LLSymbolsDefs.h:110
symResShutdownInProgress
@ symResShutdownInProgress
Definition: LLSymbolsDefs.h:92
symResInvalidComm
@ symResInvalidComm
Definition: LLSymbolsDefs.h:94
symResInvalidHandle
@ symResInvalidHandle
Definition: LLSymbolsDefs.h:36
symResMemWriteError
@ symResMemWriteError
Definition: LLSymbolsDefs.h:52
symResSymbolTableUploadError
@ symResSymbolTableUploadError
Definition: LLSymbolsDefs.h:128
LLSymTyVarInt
@ LLSymTyVarInt
Definition: LLSymbolsDefs.h:203
symResSymbolTableLoadError
@ symResSymbolTableLoadError
Definition: LLSymbolsDefs.h:34
symResConnectionLost
@ symResConnectionLost
Definition: LLSymbolsDefs.h:62
symResSegmentationError
@ symResSegmentationError
Definition: LLSymbolsDefs.h:108
symResInvalidBuffer
@ symResInvalidBuffer
Definition: LLSymbolsDefs.h:48
LLSymTyVarULInt
@ LLSymTyVarULInt
Definition: LLSymbolsDefs.h:217
_LLSymTypeProperty
_LLSymTypeProperty
Definition: LLSymbolsDefs.h:149
symResSocketError
@ symResSocketError
Definition: LLSymbolsDefs.h:124
symResCannotWriteFile
@ symResCannotWriteFile
Definition: LLSymbolsDefs.h:102
symResUnkownCommand
@ symResUnkownCommand
Definition: LLSymbolsDefs.h:90
LLSymTyVarString
@ LLSymTyVarString
Definition: LLSymbolsDefs.h:225
LLSymTypeIsSigned
@ LLSymTypeIsSigned
Definition: LLSymbolsDefs.h:165
symResServerNotCompatible
@ symResServerNotCompatible
Definition: LLSymbolsDefs.h:96
symResTimeoutError
@ symResTimeoutError
Definition: LLSymbolsDefs.h:54
symResUnsupported64bitTarget
@ symResUnsupported64bitTarget
Definition: LLSymbolsDefs.h:144
symResWorkspaceInvalidated
@ symResWorkspaceInvalidated
Definition: LLSymbolsDefs.h:84
symResCannotReadFile
@ symResCannotReadFile
Definition: LLSymbolsDefs.h:106
symResFileAlreadyExists
@ symResFileAlreadyExists
Definition: LLSymbolsDefs.h:100
symResGroupIsEmpty
@ symResGroupIsEmpty
Definition: LLSymbolsDefs.h:120
LLSymTypeIsStruct
@ LLSymTypeIsStruct
Definition: LLSymbolsDefs.h:159
symResVersionNotSupported
@ symResVersionNotSupported
Definition: LLSymbolsDefs.h:74
symResInvalidCommString
@ symResInvalidCommString
Definition: LLSymbolsDefs.h:142
symResInvalidVARIANT
@ symResInvalidVARIANT
Definition: LLSymbolsDefs.h:56
symResInvalidTagType
@ symResInvalidTagType
Definition: LLSymbolsDefs.h:122
LLSymTyVarNull
@ LLSymTyVarNull
Definition: LLSymbolsDefs.h:193
addr32_t
uint32_t addr32_t
Definition: LLSymbolsDefs.h:170
_LLSymResult
_LLSymResult
Definition: LLSymbolsDefs.h:26
LLSymTypeIsArray
@ LLSymTypeIsArray
Definition: LLSymbolsDefs.h:157
symResMaxReached
@ symResMaxReached
Definition: LLSymbolsDefs.h:86
symResNotOk
@ symResNotOk
Definition: LLSymbolsDefs.h:64
symResInvalidArea
@ symResInvalidArea
Definition: LLSymbolsDefs.h:82
symResSymbolTableUploadNotAvailable
@ symResSymbolTableUploadNotAvailable
Definition: LLSymbolsDefs.h:130
symResInvalidParameter
@ symResInvalidParameter
Definition: LLSymbolsDefs.h:38
symResGroupConfigError
@ symResGroupConfigError
Definition: LLSymbolsDefs.h:116
symResCommandNotSupported
@ symResCommandNotSupported
Definition: LLSymbolsDefs.h:76
symResSymbolTableUploadModeNotSupported
@ symResSymbolTableUploadModeNotSupported
Definition: LLSymbolsDefs.h:132
symResMemReadError
@ symResMemReadError
Definition: LLSymbolsDefs.h:46
LLSymTyVarUDInt
@ LLSymTyVarUDInt
Definition: LLSymbolsDefs.h:211
LLSymTyVarBool
@ LLSymTyVarBool
Definition: LLSymbolsDefs.h:195
symResInvalidAttributeValue
@ symResInvalidAttributeValue
Definition: LLSymbolsDefs.h:66
symResInvalidAddress
@ symResInvalidAddress
Definition: LLSymbolsDefs.h:44
LLSymTyVarReal
@ LLSymTyVarReal
Definition: LLSymbolsDefs.h:221
LLSymTyVarUSInt
@ LLSymTyVarUSInt
Definition: LLSymbolsDefs.h:199
LLSymTyVarUserDef
@ LLSymTyVarUserDef
Definition: LLSymbolsDefs.h:227
symResOk
@ symResOk
Definition: LLSymbolsDefs.h:28
LLSymTyVarSInt
@ LLSymTyVarSInt
Definition: LLSymbolsDefs.h:197
LLSymTyVarByte
@ LLSymTyVarByte
Definition: LLSymbolsDefs.h:201
LLSymTypeIsFunctionBlock
@ LLSymTypeIsFunctionBlock
Definition: LLSymbolsDefs.h:161
symResSocketInitError
@ symResSocketInitError
Definition: LLSymbolsDefs.h:32
symResRemoteCommandNotSupported
@ symResRemoteCommandNotSupported
Definition: LLSymbolsDefs.h:138
addr64_t
uint64_t addr64_t
Definition: LLSymbolsDefs.h:171
LLSymTyVar
enum _LLSymTyVar LLSymTyVar
symResBufferOverflow
@ symResBufferOverflow
Definition: LLSymbolsDefs.h:88
symResNotInited
@ symResNotInited
Definition: LLSymbolsDefs.h:30
symResReadOnlyTag
@ symResReadOnlyTag
Definition: LLSymbolsDefs.h:60
symResAttributeNotFound
@ symResAttributeNotFound
Definition: LLSymbolsDefs.h:42
symResCannotOpenFile
@ symResCannotOpenFile
Definition: LLSymbolsDefs.h:104
LLSymTyVarPointer
@ LLSymTyVarPointer
Definition: LLSymbolsDefs.h:229
symResSymbolTableUploadUnzipNotFound
@ symResSymbolTableUploadUnzipNotFound
Definition: LLSymbolsDefs.h:134
symResInvalidArrayIndex
@ symResInvalidArrayIndex
Definition: LLSymbolsDefs.h:58
symResNotImplemented
@ symResNotImplemented
Definition: LLSymbolsDefs.h:72
LLSymTyVarUInt
@ LLSymTyVarUInt
Definition: LLSymbolsDefs.h:205
symResOkServerNotFullSupport
@ symResOkServerNotFullSupport
Definition: LLSymbolsDefs.h:98
symResBitCommandRequired
@ symResBitCommandRequired
Definition: LLSymbolsDefs.h:68
LLSymTyVarLInt
@ LLSymTyVarLInt
Definition: LLSymbolsDefs.h:215
symResInvalidGroupTag
@ symResInvalidGroupTag
Definition: LLSymbolsDefs.h:118
LLSymTyVarWord
@ LLSymTyVarWord
Definition: LLSymbolsDefs.h:207
symResProtocolError
@ symResProtocolError
Definition: LLSymbolsDefs.h:126
symResRemoteCommandError
@ symResRemoteCommandError
Definition: LLSymbolsDefs.h:140
symResSymbolNotFound
@ symResSymbolNotFound
Definition: LLSymbolsDefs.h:40
LLSymTyVarLReal
@ LLSymTyVarLReal
Definition: LLSymbolsDefs.h:223
llsym_addr_t
addr32_t llsym_addr_t
Definition: LLSymbolsDefs.h:185
LLSymTyVarDWord
@ LLSymTyVarDWord
Definition: LLSymbolsDefs.h:213
symResUnknownTagSize
@ symResUnknownTagSize
Definition: LLSymbolsDefs.h:50
LLSymTypeIsString
@ LLSymTypeIsString
Definition: LLSymbolsDefs.h:155
LLSymTypeIsBasic
@ LLSymTypeIsBasic
Definition: LLSymbolsDefs.h:151
LLSymResult
enum _LLSymResult LLSymResult
LLSymTypeProperty
enum _LLSymTypeProperty LLSymTypeProperty
LLSymTypeIsComplex
@ LLSymTypeIsComplex
Definition: LLSymbolsDefs.h:153
symResSymbolTableUploadUnzipError
@ symResSymbolTableUploadUnzipError
Definition: LLSymbolsDefs.h:136
symResInvalidTagSize
@ symResInvalidTagSize
Definition: LLSymbolsDefs.h:70
LLSymTyVarDInt
@ LLSymTyVarDInt
Definition: LLSymbolsDefs.h:209
LLSymTypeIsInteger
@ LLSymTypeIsInteger
Definition: LLSymbolsDefs.h:167
symResGroupMustBeRead
@ symResGroupMustBeRead
Definition: LLSymbolsDefs.h:114
symResMemoryAllocError
@ symResMemoryAllocError
Definition: LLSymbolsDefs.h:80