Create a copy of a ua_programdiagnosticdatatype struct.
Copy all fields from struct ua_programdiagnosticdatatype src
to dst
. Creates a deep copy so all content is recusively copied and both src
and dst
can be used and must be freed separately.
dst
is not cleared before the copy operation, so it must not have any allocated data. It may or may not be initilized by the caller before copy.
- Returns
- Zero on success or ua_statuscode on failure.
static int ua_programdiagnosticdatatype_resize_last_method_input_arguments_array |
( |
struct ua_programdiagnosticdatatype * |
val, |
|
|
int32_t |
new_len |
|
) |
| |
|
related |
Resize the last_method_input_arguments array of a ua_programdiagnosticdatatype struct.
Depending on new_len
and the current size of the array, the array will be created, increased, decreased or deleted. In case array members are removed these are cleared properly, new array members are initialized with zero.
- Parameters
-
new_len | New length of the last_method_input_arguments array in number of members. |
- Returns
- Zero on success or ua_statuscode on failure.
static int ua_programdiagnosticdatatype_resize_last_method_output_arguments_array |
( |
struct ua_programdiagnosticdatatype * |
val, |
|
|
int32_t |
new_len |
|
) |
| |
|
related |
Resize the last_method_output_arguments array of a ua_programdiagnosticdatatype struct.
Depending on new_len
and the current size of the array, the array will be created, increased, decreased or deleted. In case array members are removed these are cleared properly, new array members are initialized with zero.
- Parameters
-
new_len | New length of the last_method_output_arguments array in number of members. |
- Returns
- Zero on success or ua_statuscode on failure.
The documentation for this struct was generated from the following files:
- C:/work/embeddedstack/src/uabase/structure/programdiagnosticdatatype.h
- C:/work/embeddedstack/src/uabase/structure/programdiagnosticdatatype.c