secStoreAdmin_interface.h
Go to the documentation of this file.
25 * This API allows an administrator to provision secure storage data and debug stored data issues.49 //--------------------------------------------------------------------------------------------------52 * Connect the current client thread to the service providing this API. Block until the service is56 * called before any other functions in this API. Normally, ConnectService is automatically called61 //--------------------------------------------------------------------------------------------------67 //--------------------------------------------------------------------------------------------------70 * Try to connect the current client thread to the service providing this API. Return with an error74 * called before any other functions in this API. Normally, ConnectService is automatically called81 * - LE_UNAVAILABLE if the server is not currently offering the service to which the client is bound.82 * - LE_NOT_PERMITTED if the client interface is not bound to any service (doesn't have a binding).85 //--------------------------------------------------------------------------------------------------91 //--------------------------------------------------------------------------------------------------97 * longer a connection to the service, and the functions in this API can't be used. For details, see102 //--------------------------------------------------------------------------------------------------109 //--------------------------------------------------------------------------------------------------113 //--------------------------------------------------------------------------------------------------117 //--------------------------------------------------------------------------------------------------119 //--------------------------------------------------------------------------------------------------123 //--------------------------------------------------------------------------------------------------127 //--------------------------------------------------------------------------------------------------130 //--------------------------------------------------------------------------------------------------138 //--------------------------------------------------------------------------------------------------145 //--------------------------------------------------------------------------------------------------149 //--------------------------------------------------------------------------------------------------156 //--------------------------------------------------------------------------------------------------158 * Go to the next entry in the iterator. This should be called at least once before accessing the159 * entry. After the first time this function is called successfully on an iterator the first entry166 //--------------------------------------------------------------------------------------------------173 //--------------------------------------------------------------------------------------------------182 //--------------------------------------------------------------------------------------------------198 //--------------------------------------------------------------------------------------------------200 * Writes a buffer of data into the specified path in secure storage. If the item already exists,212 //--------------------------------------------------------------------------------------------------225 //--------------------------------------------------------------------------------------------------240 //--------------------------------------------------------------------------------------------------253 //--------------------------------------------------------------------------------------------------263 //--------------------------------------------------------------------------------------------------270 //--------------------------------------------------------------------------------------------------284 //--------------------------------------------------------------------------------------------------291 //--------------------------------------------------------------------------------------------------304 //--------------------------------------------------------------------------------------------------314 //--------------------------------------------------------------------------------------------------323 //--------------------------------------------------------------------------------------------------struct secStoreAdmin_Iter * secStoreAdmin_IterRef_tDefinition: secStoreAdmin_interface.h:128le_result_t secStoreAdmin_TryConnectService(void)le_result_t secStoreAdmin_Read(const char *path, uint8_t *bufPtr, size_t *bufNumElementsPtr)le_result_t secStoreAdmin_Delete(const char *path)secStoreAdmin_IterRef_t secStoreAdmin_CreateIter(const char *path)le_result_t secStoreAdmin_CopyMetaTo(const char *path)le_result_t secStoreAdmin_GetEntry(secStoreAdmin_IterRef_t iterRef, char *name, size_t nameNumElements, bool *isDirPtr)void secStoreAdmin_DeleteIter(secStoreAdmin_IterRef_t iterRef)le_result_t secStoreAdmin_Write(const char *path, const uint8_t *bufPtr, size_t bufNumElements)le_result_t secStoreAdmin_GetSize(const char *path, uint64_t *sizePtr)void secStoreAdmin_ConnectService(void)le_result_t secStoreAdmin_Next(secStoreAdmin_IterRef_t iterRef)le_result_t secStoreAdmin_GetTotalSpace(uint64_t *totalSizePtr, uint64_t *freeSizePtr)void secStoreAdmin_DisconnectService(void)