storagemanager.h¶
// SPDX-License-Identifier: MIT
-
safuResultE_t elosStorageManagerDeleteMembers(elosStorageManager_t *storageManager)¶
[source] Shall cleanup and free all members of elosStorageManagert_t.
- Parameters:
storageManager (elosStorageManager_t*) – storage manager component to be freed.
- Returns:
SAFU_RESULT_OK – on success. SAFU_RESULT_FAILURE – on failure.
- Return type:
safuResultE_t
-
safuResultE_t elosStorageManagerInitialize(elosStorageManager_t *storageManager, elosStorageManagerParam_t const *param)¶
[source] Initialize the storage manager with default values to be safely used.
- Parameters:
storageManager (elosStorageManager_t*) – storage manager component initialized with storage pluginmanager
param (elosStorageManagerParam_t*) – parameter used to initialize storage manager component. See
storagemanagertypes.h
- Returns:
SAFU_RESULT_OK – on success. SAFU_RESULT_FAILURE – on failure.
- Return type:
safuResultE_t
-
safuResultE_t elosStorageManagerStart(elosStorageManager_t *storageManager)¶
[source] Start storage manager with storage plugins
- Parameters:
storageManager (elosStorageManager_t*) – storage manager with storage plugins is started.
- Returns:
SAFU_RESULT_OK – on success. SAFU_RESULT_FAILURE – on failure.
- Return type:
safuResultE_t
-
safuResultE_t elosStorageManagerStop(elosStorageManager_t *storageManager)¶
[source] Stop a running storage manager instance.
- Parameters:
storageManager (elosStorageManager_t*) – storage manager to be stopped.
- Returns:
SAFU_RESULT_OK – on success. SAFU_RESULT_FAILURE – on failure.
- Return type:
safuResultE_t