Commit Graph

8 Commits (5bd7c3c82d86ca8e351e3fe46faeee59594b1203)

Author SHA1 Message Date
Mikael Bourhis 5bd7c3c82d quality: add 'const' qualifier to the 'MMS value' getters
Some getters already have the 'const' qualifier, but not all.
To improve the quality of the code, add the 'const' qualifier for the other
getters of 'MMS value', where it was missing.

Remark:
when a pointer is returned by a getter, this pointer must be a pointer
to a constant, so as not to modify the internal data of the 'MMS value' object.
The correctness of the function calls, in libiec61850, has been checked with
the compiler option: '-Wdiscarded-qualifiers'.

Signed-off-by: Mikael Bourhis <mikael.bourhis@smile.fr>
3 years ago
Michael Zillgith 8addfc2095 - replaced most str(n)cpy/str(n)cat calls (LIB61850-333) 3 years ago
Michael Zillgith 1f144a008e - fixed memory leak in ClientSVControlBlock_create 7 years ago
Michael Zillgith 26a45a078b - added error handling code to client_example_log.c
- fixed bug in ClientSVControlBlock
7 years ago
Michael Zillgith 81e18261bc - .NET API: Added support for SVCB handling 8 years ago
Michael Zillgith 9ad549592d - refactoring names in string_utils.h/.c
- fixed bug in StringUtils_copySubString
9 years ago
Michael Zillgith 603f343d5d - removed type DstAddress and replaced by type PhyComAddress 10 years ago
Michael Zillgith dda1bad007 - extended documentation for SV subscriber 10 years ago