OpenDOF Project
DOFValue DOFValueArrayString_Create ( uint16  encoding,
uint16  len,
const char *const *  val 
)

Create a new DOFValue to hold an array of values of type String (char *).

Resource Management:
This function allocates resources that must later be freed by calling DOFValue_Destroy.
Parameters
lenElement count of the new array. This may be 0, and should be less than 32768.
valArray of String (char *) values to be held by the new DOFValue. This must not be NULL if len > 0, and must point to memory containing at least len String (char *) values.
encodingThe MIBenum value, a unique value identifying a specific coded character set used by all strings in val. This should be > 2. Example: DOFVALUESTRING_US_ASCII.
Returns
The new DOFValue, representing an array of values of type String (char *).
Exceptions
NULLis returned if the resulting DOFValue could not be created, or an invalid parameter was detected.
core-c-dof-oal Version 8.0.1 Build 0
2018-01-22