# 7.27. ODPI-C Structure dpiStringList

This structure is used for receiving a list of strings from such functions as `dpiSodaDb_getCollectionNames()` and `dpiSodaColl_listIndexes()`. The memory referenced by this structure should be freed by the function `dpiContext_freeStringList()` and should not be manipulated directly.

uint32_t dpiStringList.numStrings

  Specifies the number of elements in the strings and stringLengths arrays.

const char **dpiStringList.strings

  Specifies an array of pointers to strings. The length of this array is specified by the numStrings attribute.

uint32_t *dpiStringList.stringLengths

  Specifies an array of lengths. Each element in this array is the length of the string found in the corresponding element in the strings array, in bytes. The length of this array is specified by the numStrings attribute.