Persist Settings in Regsitry on Windows (#1242)

* Implement OpenThread Setting Interface

* Update the otPlatSettingDelete comment to indicate it doesn't maintain order.
This commit is contained in:
Nick Banks
2017-02-16 13:52:44 -08:00
committed by Jonathan Hui
parent 87bbf4a83a
commit 8ca35de7b8
4 changed files with 464 additions and 36 deletions
+3 -5
View File
@@ -230,11 +230,9 @@ ThreadError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_
/** This function deletes a specific value from the
* setting identified by aKey from the settings store.
*
* This is the only function which mutates the settings store
* that is required to maintain the relative order of the
* values associated with aKey. For example, if you have three
* items ordered (A, B, C) and you delete B, the resulting order
* is guaranteed to be (A, C).
* Note that the underlying implementation is not required
* to maintain the order of the items associated with a
* specific key.
*
* @param[in] aInstance
* The OpenThread instance structure.