Feature/writable structured view object lists (#1256)

* Added WriteProperty handler in the Structured View object with handling for object-name, description, node-subtype, node-type, default-subordinate-relationship, represents, subordinate-list, subordinate-annotations, subordinate-node-types, and subordinate-relationships in the basic Structured View object.

* Changed Structured View character strings for object-name, description, and node-subtype to use dynamic strings to support WriteProperty.

* Added characterstring_utf8_valid(), characterstring_utf8_strdup() and write_property_characterstring_utf8_strdup() for UTF-8 string duplication.

* Added write property tests for array handling and validation of array index values
This commit is contained in:
Steve Karg
2026-03-06 10:23:42 -06:00
committed by GitHub
parent 8c47e8c9a3
commit 926bc17801
11 changed files with 1046 additions and 67 deletions
+1 -1
View File
@@ -873,7 +873,7 @@ static object_functions_t My_Object_Table[] = {
Structured_View_Valid_Instance,
Structured_View_Object_Name,
Structured_View_Read_Property,
NULL /* Write_Property */,
Structured_View_Write_Property,
Structured_View_Property_Lists,
NULL /* ReadRangeInfo */,
NULL /* Iterator */,