storagemanager.h

// SPDX-License-Identifier: MIT

safuResultE_t elosStorageManagerDeleteMembers(elosStorageManager_t *storageManager)
[source]

Shall cleanup and free all members of elosStorageManagert_t.

Parameters:
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:
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:
Returns:

SAFU_RESULT_OK – on success. SAFU_RESULT_FAILURE – on failure.

Return type:

safuResultE_t