LLSymbols
|
#include <stdio.h>
#include "OSTypes.h"
#include "LLSymbols.h"
#include "LLSymbolsClient.h"
#include "LLSymbolsCommProtClient.h"
#include "LLSymbolsClientWorkspaceRemote.h"
#include "LLSymbolsClientWorkspaceDirect.h"
#include "LLSymbolsClientTag.h"
#include "LLSymbolsClientType.h"
#include "LLSymbolsClientGroup.h"
#include <cstring>
#include <map>
#include "communication.h"
#include "../LLSymbolsServer/LLSymbolsServerApi.h"
#include "CommStringUtils.h"
#include "memleak.h"
Macros | |
#define | ARRSIZE(arr) (sizeof(arr)/sizeof(arr[0])) |
Typedefs | |
typedef std::map< HANDLE, HANDLE > | THandleMap |
typedef map< CCommunication *, CCommunication * > | TFreePoolComm |
typedef map< LLSymClientGroupTagList *, LLSymClientGroupTagList * > | TFreePoolGroup |
Functions | |
void | ClearFreePool (void) |
void | FreePoolCommAdd (CCommunication *ptr) |
void | FreePoolGroupAdd (LLSymClientGroupTagList *ptr) |
LLSYMBOLS_API | LLSym_Init () |
It initializes the system. More... | |
LLSYMBOLS_API | LLSym_Shutdown () |
It performs the final shutdown process. More... | |
LLSYMBOLS_API | LLSym_IsInitOk () |
It checks whether the initialization process was right or not. More... | |
LLSYMBOLS_API | LLSym_OpenWorkspaceEx (uint8_t plcArea, const LLSymServerAddress *address, const TCHAR *targetComm, LLSymWorkspaceHandle *out_wksHandle) |
It returns an handle object for a new workspace to be opened. More... | |
LLSYMBOLS_API | LLSym_OpenWorkspace (uint8_t plcArea, const LLSymServerAddress *address, LLSymWorkspaceHandle *out_wksHandle) |
It returns an handle object for a new workspace to be opened. More... | |
LLSYMBOLS_API | LLSym_GetServerVersion (LLSymWorkspaceHandle wksHandle, uint8_t *out_verMajor, uint8_t *out_verMinor, uint8_t *out_verRevision, uint8_t *out_verBuild) |
returns the protocol version supported by symbols server. More... | |
LLSYMBOLS_API | LLSym_CloseWorkspace (LLSymWorkspaceHandle wksHandle) |
It closes the workspace represented by the handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_IsValidWorkspace (LLSymWorkspaceHandle wksHandle) |
It checks whether the workspace represented by the the handle object given as argument of the function is still valid or not. More... | |
LLSYMBOLS_API | LLSym_GetSymbolTable (LLSymWorkspaceHandle wksHandle, const TCHAR *symbolTableFileName, bool_t overwrite) |
Get symbol table from server and save it as a local copy. This can be useful for offline symbols browsing (a symbol server with offline connection can be used too) More... | |
LLSYMBOLS_API | LLSym_GetGlobalTag (LLSymWorkspaceHandle wksHandle, const TCHAR *symbolName, LLSymTagHandle *out_tagHandle) |
It gets a global tag for a symbol on the workspace represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_CloseTag (LLSymTagHandle tagHandle) |
It closes the global tag represented by the handle object given as argument of the function. If tag is associated to any group also remove from it. More... | |
LLSYMBOLS_API | LLSym_GetGlobalTags (LLSymWorkspaceHandle wksHandle, LLSymTagHandle **out_tagList, uint32_t *out_numTags) |
It gets a list of tags on the workspace represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_QueryGlobalTags (LLSymWorkspaceHandle wksHandle, const TCHAR *query, LLSymTagHandle **out_tagList, uint32_t *out_numTags) |
It gets a list of tags on the workspace matching the specified query. More... | |
LLSYMBOLS_API | LLSym_FreeTagList (LLSymTagHandle *tagList) |
Deallocates a list of tags, obtained with the LLSym_GetGlobalTags function. More... | |
LLSYMBOLS_API | LLSym_GetGlobalTagsNum (LLSymWorkspaceHandle wksHandle, uint32_t *out_numTags) |
Gets the number of global tags. More... | |
LLSYMBOLS_API | LLSym_QueryGlobalTagsNum (LLSymWorkspaceHandle wksHandle, const TCHAR *query, uint32_t *out_numTags) |
Gets the number of global tags matching the specified query. More... | |
LLSYMBOLS_API | LLSym_FillGlobalTagList (LLSymWorkspaceHandle wksHandle, LLSymTagHandle *tagList, uint32_t numTags) |
Fills a list of global tags. Similar to LLSym_GetGlobalTags(), but does not allocate the resulting tagList array; you need to call LLSym_GetGlobalTagsNum() first and preallocate the array. More... | |
LLSYMBOLS_API | LLSym_QueryFillGlobalTagList (LLSymWorkspaceHandle wksHandle, const TCHAR *query, LLSymTagHandle *tagList, uint32_t numTags) |
Fills a list of global tags, according to the query. Similar to LLSym_QueryGlobalTags(), but does not allocate the resulting tagList array; you need to call LLSym_QueryGlobalTagsNum() first and preallocate the array. More... | |
LLSYMBOLS_API | LLSym_GetGlobalTagsMap (LLSymWorkspaceHandle wksHandle, LLSymTagMapHandle *out_mapHandle) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_FreeTagMap (LLSymTagMapHandle mapHandle) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_GetTagFromMap (LLSymTagMapHandle mapHandle, const TCHAR *symbolName, LLSymTagHandle *out_tagHandle) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_GetTag (LLSymWorkspaceHandle wksHandle, const TCHAR *symbolName, LLSymTagHandle *out_tagHandle) |
It gets a tag (global or program local variable) for a symbol on the workspace represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_ReadMemory (LLSymWorkspaceHandle wksHandle, llsym_addr_t address, void *out_buf, uint32_t size) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_WriteMemory (LLSymWorkspaceHandle wksHandle, llsym_addr_t address, const void *buf, uint32_t size) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_GetCodeId (LLSymWorkspaceHandle wksHandle, uint32_t *outCodeId, bool_t checkWithTarget, uint16_t index, uint16_t subIndex) |
DEPRECATED - Command not implemented. More... | |
LLSYMBOLS_API | LLSym_GetTagAttribute (LLSymTagHandle tagHandle, const TCHAR *attrName, TCHAR *out_buf, uint16_t *bufsize) |
DEPRECATED - It returns textual attributes for the tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagName (LLSymTagHandle tagHandle, TCHAR *out_buf, uint16_t *bufsize) |
It returns the name of the global tag represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagDataType (LLSymTagHandle tagHandle, TCHAR *out_buf, uint16_t *bufsize) |
It returns the type of the variable represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagDataTypeVar (LLSymTagHandle tagHandle, LLSymTyVar *out_type_var) |
It returns the type of the variable represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagAddress (LLSymTagHandle tagHandle, llsym_addr_t *out_address) |
It returns the address of the tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagAddressBitOffset (LLSymTagHandle tagHandle, llsym_addr_t *out_address, uint32_t *out_bit_offset) |
It returns the pair address/offset at which the tag given as argument of the function is. More... | |
LLSYMBOLS_API | LLSym_GetTagArrayAddress (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, llsym_addr_t *out_address) |
It returns the address of the tag handle given as argument of the function, at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_GetTagArrayAddressBitOffset (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, llsym_addr_t *out_address, uint32_t *out_bit_offset) |
It returns a pair address/offset of the tag handle given as argument of the function, at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_GetTagDataSize (LLSymTagHandle tagHandle, uint32_t *out_size) |
It returns the size of the data contained into the variable represented by the tag. For arrays, it will return the size of the single element. More... | |
LLSYMBOLS_API | LLSym_GetTagDataFullSize (LLSymTagHandle tagHandle, uint32_t *out_size) |
It returns the full size of the data contained into the variable represented by the tag. For arrays and structures, it will return the size of the whole variable. More... | |
LLSYMBOLS_API | LLSym_IsTagReadOnly (LLSymTagHandle tagHandle, bool_t *out_isReadOnly) |
It checks whether the global tag represented by the handle object given as argument of the function is read only or not. More... | |
LLSYMBOLS_API | LLSym_IsTagBitAddress (LLSymTagHandle tagHandle, bool_t *out_isBitAddress) |
It checks whether the tag given as argument of the function is identified by a bit address or not. More... | |
LLSYMBOLS_API | LLSym_GetTagDescr (LLSymTagHandle tagHandle, TCHAR *out_buf, uint16_t *bufsize) |
It returns a string representing the description of the global tag represented by the handle object given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagDims (LLSymTagHandle tagHandle, uint32_t *out_dim1, uint32_t *out_dim2, uint32_t *out_dim3) |
It returns up to 3 valid values for the dimensions of the tag handle given as argument of the function. A base type tag has 0 dimensions, an array has 1 dimnesion and a matrix has up to 3 dimensions. More... | |
LLSYMBOLS_API | LLSym_GetTagValue_Ptr (LLSymTagHandle tagHandle, void *out_buf, uint32_t bufsize) |
It returns the value global tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_SetTagValue_Ptr (LLSymTagHandle tagHandle, const void *buf, uint32_t bufsize) |
It sets the value of the global tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagArrayValue_Ptr (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, void *out_buf, uint32_t bufsize) |
It returns the value of the tag given as argument of the function at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_SetTagArrayValue_Ptr (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, const void *buf, uint32_t bufsize) |
It sets the value of the tag given as argument of the function at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_GetTagRawValue_Ptr (LLSymTagHandle tagHandle, void *out_buf, uint32_t bufsize) |
It returns a binary blob containing all the values of the tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_SetTagRawValue_Ptr (LLSymTagHandle tagHandle, const void *buff, uint32_t bufsize) |
It sets the content of the buffer as the full value of the tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_GetTagValue_VARIANT (LLSymTagHandle tagHandle, VARIANT *out_value) |
It reads a tag value from the target, using a VARIANT. More... | |
LLSYMBOLS_API | LLSym_SetTagValue_VARIANT (LLSymTagHandle tagHandle, VARIANT value) |
It writes a tag value from the target, using a VARIANT. More... | |
LLSYMBOLS_API | LLSym_GetTagArrayValue_VARIANT (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, VARIANT *out_value) |
It returns the value of the tag given as argument of the function at the specified set of indexes, with VARIANT. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_SetTagArrayValue_VARIANT (LLSymTagHandle tagHandle, uint32_t idx1, uint32_t idx2, uint32_t idx3, VARIANT value) |
It sets the value of the tag given as argument of the function at the specified set of indexes, with VARIANT. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes. More... | |
LLSYMBOLS_API | LLSym_GetTagType (LLSymTagHandle tagHandle, LLSymTypeHandle *out_typeHandle) |
It returns the type handle of the tag given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_CloseType (LLSymTypeHandle typeHandle) |
Close a type handle. More... | |
LLSYMBOLS_API | LLSym_TypeIsBasic (LLSymTypeHandle typeHandle, bool_t *out_IsBasic) |
It checks whether the type given a argument of the function is basic or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsComplex (LLSymTypeHandle typeHandle, bool_t *out_IsComplex) |
It checks whether the type given a argument of the function is complex or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsString (LLSymTypeHandle typeHandle, bool_t *out_IsString) |
It checks whether the type given a argument of the function is a String or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsArray (LLSymTypeHandle typeHandle, bool_t *out_IsArray) |
It checks whether the type given a argument of the function is an array or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsStruct (LLSymTypeHandle typeHandle, bool_t *out_IsStruct) |
It checks whether the type given a argument of the function is a struct or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsFunctionBlock (LLSymTypeHandle typeHandle, bool_t *out_IsFunctionBlock) |
It checks whether the type given a argument of the function is a function block or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsNumeric (LLSymTypeHandle typeHandle, bool_t *out_IsNumeric) |
It checks whether the type given a argument of the function is numeric or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsSigned (LLSymTypeHandle typeHandle, bool_t *out_IsSigned) |
It checks whether the type given a argument of the function is signed or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeIsInteger (LLSymTypeHandle typeHandle, bool_t *out_IsInteger) |
It checks whether the type given a argument of the function is integer or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call. More... | |
LLSYMBOLS_API | LLSym_TypeGetSize (LLSymTypeHandle typeHandle, uint32_t *out_Size) |
It returns the size of the type represented by the handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetName (LLSymTypeHandle typeHandle, TCHAR *out_buf, uint16_t *bufsize) |
It returns the name of the type represented by the handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetNumChildren (LLSymTypeHandle typeHandle, uint32_t *out_NumChildren) |
It returns the number of children of the type handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetChild (LLSymTypeHandle typeHandle, uint32_t childIndex, LLSymTypeHandle *out_typeChild) |
It returns the child type handle at the index of the parent complex type given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetChildByName (LLSymTypeHandle typeHandle, const TCHAR *fieldName, LLSymTypeHandle *out_typeChild) |
It returns the child type handle by specifying its fieldName within the parent complex type given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetChildName (LLSymTypeHandle typeHandle, uint32_t childIndex, TCHAR *out_childName, uint16_t *bufsize) |
It returns the child type name at the index of the parent complex type given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetArrayNumDimensions (LLSymTypeHandle typeHandle, uint32_t *out_numDimensions) |
It returns the number of dimensions of the type handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetArrayDimension (LLSymTypeHandle typeHandle, uint32_t idx, uint32_t *out_Dimension) |
It returns the size of the dimension at the specified index of the type handle given as argument of the function. More... | |
LLSYMBOLS_API | LLSym_TypeGetArrayDimensions (LLSymTypeHandle typeHandle, uint32_t *out_Dimensions, uint8_t bufsize) |
It returns the sizes of all dimensions for array types. More... | |
LLSYMBOLS_API | LLSym_TypeGetProperties (LLSymTypeHandle typeHandle, uint32_t *out_Properties) |
It returns as a bitmask the various flags of the request type (see enum LLSymTypeProperty) More... | |
LLSYMBOLS_API | LLSym_CreateGroup (LLSymWorkspaceHandle wksHandle, LLSymGroupHandle *out_groupHandle) |
It returns an LLSymGroupHandle handle of the empty group of tags. More... | |
LLSYMBOLS_API | LLSym_DeleteGroup (LLSymGroupHandle groupHandle) |
Delete the group of tag specified by groupHandle. Tags of the group must be closed explicitely. More... | |
LLSYMBOLS_API | LLSym_AddTagToGroup (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle) |
Add specified tag to group of tags. More... | |
LLSYMBOLS_API | LLSym_RemoveTagFromGroup (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle) |
Remove specified tag from group of tags. More... | |
LLSYMBOLS_API | LLSym_GetGroupInfo (LLSymGroupHandle groupHandle, uint32_t *out_numTags, uint32_t *out_byteSize) |
Get the size of the group. More... | |
LLSYMBOLS_API | LLSym_ReadGroup (LLSymGroupHandle groupHandle) |
Refresh the values of all the tags of the group in a row. More... | |
LLSYMBOLS_API | LLSym_WriteGroup (LLSymGroupHandle groupHandle) |
Write the values of all the tags of the group in a row. More... | |
LLSYMBOLS_API | LLSym_GetTagValueFromGroup_Ptr (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle, void *data_out, uint32_t data_size) |
Get tag value from group. More... | |
LLSYMBOLS_API | LLSym_SetTagValueIntoGroup_Ptr (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle, const void *data, uint32_t data_size) |
Set tag value into group. More... | |
LLSYMBOLS_API | LLSym_GetTagValueFromGroup_VARIANT (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle, VARIANT *out_value) |
Get tag basic value from group. More... | |
LLSYMBOLS_API | LLSym_SetTagValueIntoGroup_VARIANT (LLSymGroupHandle groupHandle, LLSymTagHandle tagHandle, VARIANT value) |
Set tag basic value into group. More... | |
#define ARRSIZE | ( | arr | ) | (sizeof(arr)/sizeof(arr[0])) |
typedef map<CCommunication *, CCommunication *> TFreePoolComm |
typedef map<LLSymClientGroupTagList *, LLSymClientGroupTagList *> TFreePoolGroup |
typedef std::map<HANDLE, HANDLE> THandleMap |
void ClearFreePool | ( | void | ) |
void FreePoolCommAdd | ( | CCommunication * | ptr | ) |
void FreePoolGroupAdd | ( | LLSymClientGroupTagList * | ptr | ) |
LLSYMBOLS_API LLSym_AddTagToGroup | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle | ||
) |
Add specified tag to group of tags.
groupHandle | LLSymGroupHandle of the selected group |
tagHandle | LLSymTagHandle of the tag to add to the group |
LLSYMBOLS_API LLSym_CloseTag | ( | LLSymTagHandle | tagHandle | ) |
It closes the global tag represented by the handle object given as argument of the function. If tag is associated to any group also remove from it.
tagHandle | the global tag handle object. |
LLSYMBOLS_API LLSym_CloseType | ( | LLSymTypeHandle | typeHandle | ) |
Close a type handle.
typeHandle | The handle to close. |
LLSYMBOLS_API LLSym_CloseWorkspace | ( | LLSymWorkspaceHandle | wksHandle | ) |
It closes the workspace represented by the handle given as argument of the function.
wksHandle | the workspace handle object. |
LLSYMBOLS_API LLSym_CreateGroup | ( | LLSymWorkspaceHandle | wksHandle, |
LLSymGroupHandle * | out_groupHandle | ||
) |
It returns an LLSymGroupHandle handle of the empty group of tags.
wksHandle | the workspace whose belong the group |
out_groupHandle | an handle that identifies the group of tag |
LLSYMBOLS_API LLSym_DeleteGroup | ( | LLSymGroupHandle | groupHandle | ) |
Delete the group of tag specified by groupHandle. Tags of the group must be closed explicitely.
groupHandle | LLSymGroupHandle of the group to delete |
LLSYMBOLS_API LLSym_FillGlobalTagList | ( | LLSymWorkspaceHandle | wksHandle, |
LLSymTagHandle * | tagList, | ||
uint32_t | numTags | ||
) |
Fills a list of global tags. Similar to LLSym_GetGlobalTags(), but does not allocate the resulting tagList array; you need to call LLSym_GetGlobalTagsNum() first and preallocate the array.
wksHandle | the workspace handle object |
tagList | array of LLSymTagHandle that will filled |
numTags | number of global tags to open |
LLSYMBOLS_API LLSym_FreeTagList | ( | LLSymTagHandle * | tagList | ) |
Deallocates a list of tags, obtained with the LLSym_GetGlobalTags function.
tagList | List of tags to deallocate |
LLSYMBOLS_API LLSym_FreeTagMap | ( | LLSymTagMapHandle | mapHandle | ) |
LLSYMBOLS_API LLSym_GetCodeId | ( | LLSymWorkspaceHandle | wksHandle, |
uint32_t * | outCodeId, | ||
bool_t | checkWithTarget, | ||
uint16_t | index, | ||
uint16_t | subIndex | ||
) |
DEPRECATED - Command not implemented.
wksHandle | |
outCodeId | |
checkWithTarget | |
index | |
subIndex |
LLSYMBOLS_API LLSym_GetGlobalTag | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | symbolName, | ||
LLSymTagHandle * | out_tagHandle | ||
) |
It gets a global tag for a symbol on the workspace represented by the handle object given as argument of the function.
wksHandle | the workspace handle object. |
symbolName | the symbol name. |
out_tagHandle | an output parameter to the global tag handle object. |
LLSYMBOLS_API LLSym_GetGlobalTags | ( | LLSymWorkspaceHandle | wksHandle, |
LLSymTagHandle ** | out_tagList, | ||
uint32_t * | out_numTags | ||
) |
It gets a list of tags on the workspace represented by the handle object given as argument of the function.
wksHandle | the workspace handle object. |
out_tagList | an output list containing the tags just opened. |
out_numTags | an output parameter containing the number of tags just opened. |
LLSYMBOLS_API LLSym_GetGlobalTagsMap | ( | LLSymWorkspaceHandle | wksHandle, |
LLSymTagMapHandle * | out_mapHandle | ||
) |
DEPRECATED - Command not implemented.
wksHandle | |
out_mapHandle |
LLSYMBOLS_API LLSym_GetGlobalTagsNum | ( | LLSymWorkspaceHandle | wksHandle, |
uint32_t * | out_numTags | ||
) |
Gets the number of global tags.
wksHandle | the workspace handle object |
out_numTags | an output parameter containing the number of tags just opened. |
LLSYMBOLS_API LLSym_GetGroupInfo | ( | LLSymGroupHandle | groupHandle, |
uint32_t * | out_numTags, | ||
uint32_t * | out_byteSize | ||
) |
Get the size of the group.
groupHandle | LLSymGroupHandle of the selected group |
out_numTags | number of tags in the group |
out_byteSize | total size in bytes of the tag values data transferred with LLSym_ReadGroup or LLSym_WriteGroup |
LLSYMBOLS_API LLSym_GetServerVersion | ( | LLSymWorkspaceHandle | wksHandle, |
uint8_t * | out_verMajor, | ||
uint8_t * | out_verMinor, | ||
uint8_t * | out_verRevision, | ||
uint8_t * | out_verBuild | ||
) |
returns the protocol version supported by symbols server.
wksHandle | the workspace handle object. |
out_verMajor | major version of the symbols server |
out_verMinor | minor version of the symbols server |
out_verRevision | revision version of the symbols server |
out_verBuild | build version of the symbols server |
LLSYMBOLS_API LLSym_GetSymbolTable | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | symbolTableFileName, | ||
bool_t | overwrite | ||
) |
Get symbol table from server and save it as a local copy. This can be useful for offline symbols browsing (a symbol server with offline connection can be used too)
wksHandle | the workspace handle object. |
symbolTableFileName | the file name in which the symbol table will be stored |
overwrite | if specified overwrite file if exists |
LLSYMBOLS_API LLSym_GetTag | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | symbolName, | ||
LLSymTagHandle * | out_tagHandle | ||
) |
It gets a tag (global or program local variable) for a symbol on the workspace represented by the handle object given as argument of the function.
wksHandle | the workspace handle object. |
symbolName | the symbol name full path. es "programName.localSymbolName" or "globalSymbolName" |
out_tagHandle | an output parameter to the global tag handle object. |
LLSYMBOLS_API LLSym_GetTagAddress | ( | LLSymTagHandle | tagHandle, |
llsym_addr_t * | out_address | ||
) |
It returns the address of the tag given as argument of the function.
tagHandle | the global tag handle. |
out_address | an output parameter containing the address. |
LLSYMBOLS_API LLSym_GetTagAddressBitOffset | ( | LLSymTagHandle | tagHandle, |
llsym_addr_t * | out_address, | ||
uint32_t * | out_bit_offset | ||
) |
It returns the pair address/offset at which the tag given as argument of the function is.
tagHandle | the global tag handle. |
out_address | an output parameter containing the address. |
out_bit_offset | an output parameter containing the offset. |
LLSYMBOLS_API LLSym_GetTagArrayAddress | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
llsym_addr_t * | out_address | ||
) |
It returns the address of the tag handle given as argument of the function, at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle object. |
idx1 | first dimension parameter. |
idx2 | second dimension parameter. |
idx3 | third dimension parameter. |
out_address | an output parameter containing the address. |
LLSYMBOLS_API LLSym_GetTagArrayAddressBitOffset | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
llsym_addr_t * | out_address, | ||
uint32_t * | out_bit_offset | ||
) |
It returns a pair address/offset of the tag handle given as argument of the function, at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle object. |
idx1 | first dimension parameter. |
idx2 | second dimension parameter. |
idx3 | third dimension parameter. |
out_address | an output parameter containing the address. |
out_bit_offset | an output parameter containing the offset. |
LLSYMBOLS_API LLSym_GetTagArrayValue_Ptr | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
void * | out_buf, | ||
uint32_t | bufsize | ||
) |
It returns the value of the tag given as argument of the function at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle. |
idx1 | the first index. |
idx2 | the second index. |
idx3 | the third index. |
out_buf | an output buffer containing the value of the tag. |
bufsize | the size of the buffer. |
LLSYMBOLS_API LLSym_GetTagArrayValue_VARIANT | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
VARIANT * | out_value | ||
) |
It returns the value of the tag given as argument of the function at the specified set of indexes, with VARIANT. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle. |
idx1 | the first index. |
idx2 | the second index. |
idx3 | the third index. |
out_value | an output parameter containing the tag value. |
LLSYMBOLS_API LLSym_GetTagAttribute | ( | LLSymTagHandle | tagHandle, |
const TCHAR * | attrName, | ||
TCHAR * | out_buf, | ||
uint16_t * | bufsize | ||
) |
DEPRECATED - It returns textual attributes for the tag given as argument of the function.
tagHandle | the global tag handle. |
attrName | the name of the attribute to be got. |
out_buf | an output buffer containing the attribute value. |
bufsize | the size of the output buffer. |
LLSYMBOLS_API LLSym_GetTagDataFullSize | ( | LLSymTagHandle | tagHandle, |
uint32_t * | out_size | ||
) |
It returns the full size of the data contained into the variable represented by the tag. For arrays and structures, it will return the size of the whole variable.
tagHandle | the global tag handle. |
out_size | an output parameter containing the full size value. |
LLSYMBOLS_API LLSym_GetTagDataSize | ( | LLSymTagHandle | tagHandle, |
uint32_t * | out_size | ||
) |
It returns the size of the data contained into the variable represented by the tag. For arrays, it will return the size of the single element.
tagHandle | the global tag handle. |
out_size | an output parameter containing the size value. |
LLSYMBOLS_API LLSym_GetTagDataType | ( | LLSymTagHandle | tagHandle, |
TCHAR * | out_buf, | ||
uint16_t * | bufsize | ||
) |
It returns the type of the variable represented by the handle object given as argument of the function.
tagHandle | the global tag handle. |
out_buf | an output buffer containing the data type. |
bufsize | the size of the output buffer. |
LLSYMBOLS_API LLSym_GetTagDataTypeVar | ( | LLSymTagHandle | tagHandle, |
LLSymTyVar * | out_type_var | ||
) |
It returns the type of the variable represented by the handle object given as argument of the function.
tagHandle | the global tag handle. |
out_type_var | the returned data type |
LLSYMBOLS_API LLSym_GetTagDescr | ( | LLSymTagHandle | tagHandle, |
TCHAR * | out_buf, | ||
uint16_t * | bufsize | ||
) |
It returns a string representing the description of the global tag represented by the handle object given as argument of the function.
tagHandle | the handle object representing the global tag. |
out_buf | an output buffer containing the description of the tag. |
bufsize | the size of the buffer. |
LLSYMBOLS_API LLSym_GetTagDims | ( | LLSymTagHandle | tagHandle, |
uint32_t * | out_dim1, | ||
uint32_t * | out_dim2, | ||
uint32_t * | out_dim3 | ||
) |
It returns up to 3 valid values for the dimensions of the tag handle given as argument of the function. A base type tag has 0 dimensions, an array has 1 dimnesion and a matrix has up to 3 dimensions.
tagHandle | the global tag handle. |
out_dim1 | the first output parameter for arrays or matrices. |
out_dim2 | the second output parameter for matrices. |
out_dim3 | the third output parameter for matrices. |
LLSYMBOLS_API LLSym_GetTagFromMap | ( | LLSymTagMapHandle | mapHandle, |
const TCHAR * | symbolName, | ||
LLSymTagHandle * | out_tagHandle | ||
) |
DEPRECATED - Command not implemented.
mapHandle | |
symbolName | |
out_tagHandle |
LLSYMBOLS_API LLSym_GetTagName | ( | LLSymTagHandle | tagHandle, |
TCHAR * | out_buf, | ||
uint16_t * | bufsize | ||
) |
It returns the name of the global tag represented by the handle object given as argument of the function.
tagHandle | the global tag handle. |
out_buf | an output buffer containing the tag name. |
bufsize | the size of the output buffer. If it is too small, symResInvalidBuffer is returned, and this will contain the required number of chars; on success, number of chars written. |
LLSYMBOLS_API LLSym_GetTagRawValue_Ptr | ( | LLSymTagHandle | tagHandle, |
void * | out_buf, | ||
uint32_t | bufsize | ||
) |
It returns a binary blob containing all the values of the tag given as argument of the function.
tagHandle | the global tag handle. |
out_buf | the ouput buffer containing the binary blob. |
bufsize | the size of the buffer; can be greater than the full data size of the tag (in this case the last part will not be written) |
LLSYMBOLS_API LLSym_GetTagType | ( | LLSymTagHandle | tagHandle, |
LLSymTypeHandle * | out_typeHandle | ||
) |
It returns the type handle of the tag given as argument of the function.
tagHandle | the handle representing the tag. |
out_typeHandle | an output parameter containing the type handle. |
LLSYMBOLS_API LLSym_GetTagValue_Ptr | ( | LLSymTagHandle | tagHandle, |
void * | out_buf, | ||
uint32_t | bufsize | ||
) |
It returns the value global tag given as argument of the function.
tagHandle | the global tag handle. |
out_buf | an output parameter containing the value just read. |
bufsize | the size of the buffer; can be greater than the data size of the tag (in this case the last part will not be written) |
LLSYMBOLS_API LLSym_GetTagValue_VARIANT | ( | LLSymTagHandle | tagHandle, |
VARIANT * | out_value | ||
) |
It reads a tag value from the target, using a VARIANT.
tagHandle | the global tag to be read. |
out_value | an output parameter containing the value. |
LLSYMBOLS_API LLSym_GetTagValueFromGroup_Ptr | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle, | ||
void * | data_out, | ||
uint32_t | data_size | ||
) |
Get tag value from group.
groupHandle | LLSymGroupHandle of the specified group |
tagHandle | LLSymTagHandle of the specified tag |
data_out | buffer in which to store the value of the tag |
data_size | size of the buffer |
LLSYMBOLS_API LLSym_GetTagValueFromGroup_VARIANT | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle, | ||
VARIANT * | out_value | ||
) |
Get tag basic value from group.
groupHandle | LLSymGroupHandle of the specified group |
tagHandle | LLSymTagHandle of the specified tag |
out_value | value of the tag read from the group |
LLSYMBOLS_API LLSym_Init | ( | ) |
It initializes the system.
LLSYMBOLS_API LLSym_IsInitOk | ( | ) |
It checks whether the initialization process was right or not.
LLSYMBOLS_API LLSym_IsTagBitAddress | ( | LLSymTagHandle | tagHandle, |
bool_t * | out_isBitAddress | ||
) |
It checks whether the tag given as argument of the function is identified by a bit address or not.
tagHandle | the global tag handle object. |
out_isBitAddress | an output parameter with the result of the check. |
LLSYMBOLS_API LLSym_IsTagReadOnly | ( | LLSymTagHandle | tagHandle, |
bool_t * | out_isReadOnly | ||
) |
It checks whether the global tag represented by the handle object given as argument of the function is read only or not.
tagHandle | the global tag handle. |
out_isReadOnly | an output parameter containing the value binded to the check. |
LLSYMBOLS_API LLSym_IsValidWorkspace | ( | LLSymWorkspaceHandle | wksHandle | ) |
It checks whether the workspace represented by the the handle object given as argument of the function is still valid or not.
wksHandle | the workspace handle object. |
LLSYMBOLS_API LLSym_OpenWorkspace | ( | uint8_t | plcArea, |
const LLSymServerAddress * | address, | ||
LLSymWorkspaceHandle * | out_wksHandle | ||
) |
It returns an handle object for a new workspace to be opened.
plcArea | the index of the runtime you want to access. Tipically, it is set to 0. |
address | the IP address of the target. |
out_wksHandle | an output parameter to the workspace handle. |
LLSYMBOLS_API LLSym_OpenWorkspaceEx | ( | uint8_t | plcArea, |
const LLSymServerAddress * | address, | ||
const TCHAR * | targetComm, | ||
LLSymWorkspaceHandle * | out_wksHandle | ||
) |
It returns an handle object for a new workspace to be opened.
plcArea | the index of the runtime you want to access. Tipically, it is set to 0. |
address | symbols server address. If NULL, server is automatically instantiaded depending on targetComm string specified |
targetComm | string. A) WinCommLibs string es: Modbus:247,1000,M::COM:2,38400,E,8,1,H,B B) GDB_TCP string es: 127.0.0.1:5000,1000 (ip:port,timeout)
|
out_wksHandle | an output parameter to the workspace handle. |
LLSYMBOLS_API LLSym_QueryFillGlobalTagList | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | query, | ||
LLSymTagHandle * | tagList, | ||
uint32_t | numTags | ||
) |
Fills a list of global tags, according to the query. Similar to LLSym_QueryGlobalTags(), but does not allocate the resulting tagList array; you need to call LLSym_QueryGlobalTagsNum() first and preallocate the array.
wksHandle | the workspace handle object |
query | is the text of the query |
tagList | array of LLSymTagHandle that will filled |
numTags | number of global tags to open |
LLSYMBOLS_API LLSym_QueryGlobalTags | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | query, | ||
LLSymTagHandle ** | out_tagList, | ||
uint32_t * | out_numTags | ||
) |
It gets a list of tags on the workspace matching the specified query.
wksHandle | the workspace handle object. |
query | is the text of the query |
out_tagList | an output list containing the tags just opened. |
out_numTags | an output parameter containing the number of tags just opened. |
LLSYMBOLS_API LLSym_QueryGlobalTagsNum | ( | LLSymWorkspaceHandle | wksHandle, |
const TCHAR * | query, | ||
uint32_t * | out_numTags | ||
) |
Gets the number of global tags matching the specified query.
wksHandle | the workspace handle object |
query | is the text of the query; can be a full tag name, or can contain wildcards in the following forms: NAME NAME NAME |
out_numTags | an output parameter containing the number of tags just opened. |
LLSYMBOLS_API LLSym_ReadGroup | ( | LLSymGroupHandle | groupHandle | ) |
Refresh the values of all the tags of the group in a row.
groupHandle | LLSymGroupHandle of the selected group |
LLSYMBOLS_API LLSym_ReadMemory | ( | LLSymWorkspaceHandle | wksHandle, |
llsym_addr_t | address, | ||
void * | out_buf, | ||
uint32_t | size | ||
) |
DEPRECATED - Command not implemented.
wksHandle | |
address | |
out_buf | |
size |
LLSYMBOLS_API LLSym_RemoveTagFromGroup | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle | ||
) |
Remove specified tag from group of tags.
groupHandle | LLSymGroupHandle of the selected group |
tagHandle | LLSymTagHandle of the tag to remove from the group |
LLSYMBOLS_API LLSym_SetTagArrayValue_Ptr | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
const void * | buf, | ||
uint32_t | bufsize | ||
) |
It sets the value of the tag given as argument of the function at the specified set of indexes. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle. |
idx1 | the first index. |
idx2 | the second index. |
idx3 | the third index. |
buf | an output buffer containing the value of the tag. |
bufsize | the size of the buffer. |
LLSYMBOLS_API LLSym_SetTagArrayValue_VARIANT | ( | LLSymTagHandle | tagHandle, |
uint32_t | idx1, | ||
uint32_t | idx2, | ||
uint32_t | idx3, | ||
VARIANT | value | ||
) |
It sets the value of the tag given as argument of the function at the specified set of indexes, with VARIANT. Clearly, an array only uses the first index, whereas a matrix can use all of them. If the tag has a base type, it requires no indexes.
tagHandle | the global tag handle. |
idx1 | the first index. |
idx2 | the second index. |
idx3 | the third index. |
value | the value to be set. |
LLSYMBOLS_API LLSym_SetTagRawValue_Ptr | ( | LLSymTagHandle | tagHandle, |
const void * | buff, | ||
uint32_t | bufsize | ||
) |
It sets the content of the buffer as the full value of the tag given as argument of the function.
tagHandle | the global tag handle. |
buff | the buffer containing the full value. |
bufsize | the size of the buffer; can be smaller than the full data size of the tag (partial write) |
LLSYMBOLS_API LLSym_SetTagValue_Ptr | ( | LLSymTagHandle | tagHandle, |
const void * | buf, | ||
uint32_t | bufsize | ||
) |
It sets the value of the global tag given as argument of the function.
tagHandle | the global tag handle. |
buf | the buffer containing the value to be set. |
bufsize | the size of the buffer; for strings, can be smaller than the maximum string length of the tag, otherwise must match exactly the data size of the tag |
LLSYMBOLS_API LLSym_SetTagValue_VARIANT | ( | LLSymTagHandle | tagHandle, |
VARIANT | value | ||
) |
It writes a tag value from the target, using a VARIANT.
tagHandle | the global tag to be set. |
value | the value to be set to the tag. |
LLSYMBOLS_API LLSym_SetTagValueIntoGroup_Ptr | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle, | ||
const void * | data, | ||
uint32_t | data_size | ||
) |
Set tag value into group.
groupHandle | LLSymGroupHandle of the selected group |
tagHandle | LLSymTagHandle of the specified tag |
data | buffer with the value of the tag to store in the group |
data_size | size of the buffer |
LLSYMBOLS_API LLSym_SetTagValueIntoGroup_VARIANT | ( | LLSymGroupHandle | groupHandle, |
LLSymTagHandle | tagHandle, | ||
VARIANT | value | ||
) |
Set tag basic value into group.
groupHandle | LLSymGroupHandle of the selected group |
tagHandle | LLSymTagHandle of the specified tag |
value | value of the tag to store in the group |
LLSYMBOLS_API LLSym_Shutdown | ( | ) |
It performs the final shutdown process.
LLSYMBOLS_API LLSym_TypeGetArrayDimension | ( | LLSymTypeHandle | typeHandle, |
uint32_t | idx, | ||
uint32_t * | out_Dimension | ||
) |
It returns the size of the dimension at the specified index of the type handle given as argument of the function.
typeHandle | the type handle object. |
idx | the index of the dimension to |
out_Dimension | an output parameter containing the size of the requested dimension. |
LLSYMBOLS_API LLSym_TypeGetArrayDimensions | ( | LLSymTypeHandle | typeHandle, |
uint32_t * | out_Dimensions, | ||
uint8_t | bufsize | ||
) |
It returns the sizes of all dimensions for array types.
typeHandle | the type handle object. |
out_Dimensions | an output parameter containing an array, will be populated by the sizes of the dimensions. |
bufsize | size of the out_Dimensions parameter (in number of elements) |
LLSYMBOLS_API LLSym_TypeGetArrayNumDimensions | ( | LLSymTypeHandle | typeHandle, |
uint32_t * | out_numDimensions | ||
) |
It returns the number of dimensions of the type handle given as argument of the function.
typeHandle | the type handle object. |
out_numDimensions | an output parameter containing the number of dimensions. |
LLSYMBOLS_API LLSym_TypeGetChild | ( | LLSymTypeHandle | typeHandle, |
uint32_t | childIndex, | ||
LLSymTypeHandle * | out_typeChild | ||
) |
It returns the child type handle at the index of the parent complex type given as argument of the function.
typeHandle | the parent complex type handle. |
childIndex | the index of the child type. |
out_typeChild | the handle of the child type. |
LLSYMBOLS_API LLSym_TypeGetChildByName | ( | LLSymTypeHandle | typeHandle, |
const TCHAR * | fieldName, | ||
LLSymTypeHandle * | out_typeChild | ||
) |
It returns the child type handle by specifying its fieldName within the parent complex type given as argument of the function.
typeHandle | the parent complex type handle. |
fieldName | the name of the child field. |
out_typeChild | an output parameter containing the handle of the child type. |
LLSYMBOLS_API LLSym_TypeGetChildName | ( | LLSymTypeHandle | typeHandle, |
uint32_t | childIndex, | ||
TCHAR * | out_childName, | ||
uint16_t * | bufsize | ||
) |
It returns the child type name at the index of the parent complex type given as argument of the function.
typeHandle | the parent complex type handle. |
childIndex | the index of the child type. |
out_childName | an output buffer containing the name of the child type. |
bufsize | the size of the buffer. |
LLSYMBOLS_API LLSym_TypeGetName | ( | LLSymTypeHandle | typeHandle, |
TCHAR * | out_buf, | ||
uint16_t * | bufsize | ||
) |
It returns the name of the type represented by the handle given as argument of the function.
typeHandle | the handle representing the type. |
out_buf | an output buffer containing the name. |
bufsize | the size of the buffer. |
LLSYMBOLS_API LLSym_TypeGetNumChildren | ( | LLSymTypeHandle | typeHandle, |
uint32_t * | out_NumChildren | ||
) |
It returns the number of children of the type handle given as argument of the function.
typeHandle | the parent type handle. |
out_NumChildren | an output parameter containing the number of children. |
LLSYMBOLS_API LLSym_TypeGetProperties | ( | LLSymTypeHandle | typeHandle, |
uint32_t * | out_Properties | ||
) |
It returns as a bitmask the various flags of the request type (see enum LLSymTypeProperty)
typeHandle | the type handle object. |
out_Properties | an output parameter receiving the bitmask of the type information |
LLSYMBOLS_API LLSym_TypeGetSize | ( | LLSymTypeHandle | typeHandle, |
uint32_t * | out_Size | ||
) |
It returns the size of the type represented by the handle given as argument of the function.
typeHandle | the handle representing the type. |
out_Size | an output parameter containing the size. |
LLSYMBOLS_API LLSym_TypeIsArray | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsArray | ||
) |
It checks whether the type given a argument of the function is an array or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsArray | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsBasic | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsBasic | ||
) |
It checks whether the type given a argument of the function is basic or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsBasic | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsComplex | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsComplex | ||
) |
It checks whether the type given a argument of the function is complex or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsComplex | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsFunctionBlock | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsFunctionBlock | ||
) |
It checks whether the type given a argument of the function is a function block or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsFunctionBlock | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsInteger | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsInteger | ||
) |
It checks whether the type given a argument of the function is integer or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsInteger | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsNumeric | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsNumeric | ||
) |
It checks whether the type given a argument of the function is numeric or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsNumeric | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsSigned | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsSigned | ||
) |
It checks whether the type given a argument of the function is signed or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsSigned | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsString | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsString | ||
) |
It checks whether the type given a argument of the function is a String or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsString | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_TypeIsStruct | ( | LLSymTypeHandle | typeHandle, |
bool_t * | out_IsStruct | ||
) |
It checks whether the type given a argument of the function is a struct or not. You can also use LLSym_TypeGetProperties to get all the properties as flag in one call.
typeHandle | the handle representing the type. |
out_IsStruct | an output parameter containing the result of the check. |
LLSYMBOLS_API LLSym_WriteGroup | ( | LLSymGroupHandle | groupHandle | ) |
Write the values of all the tags of the group in a row.
groupHandle | LLSymGroupHandle of the selected group |
LLSYMBOLS_API LLSym_WriteMemory | ( | LLSymWorkspaceHandle | wksHandle, |
llsym_addr_t | address, | ||
const void * | buf, | ||
uint32_t | size | ||
) |
DEPRECATED - Command not implemented.
wksHandle | |
address | |
buf | |
size |