ua_historydatabackend_memory.h 795 B

12345678910111213141516171819202122232425262728293031
  1. /* This Source Code Form is subject to the terms of the Mozilla Public
  2. * License, v. 2.0. If a copy of the MPL was not distributed with this
  3. * file, You can obtain one at http://mozilla.org/MPL/2.0/.
  4. *
  5. * Copyright 2018 (c) basysKom GmbH <opensource@basyskom.com> (Author: Peter Rustler)
  6. */
  7. #ifndef UA_HISTORYDATABACKEND_MEMORY_H_
  8. #define UA_HISTORYDATABACKEND_MEMORY_H_
  9. #include "ua_plugin_history_data_backend.h"
  10. #define INITIAL_MEMORY_STORE_SIZE 1000
  11. #ifdef __cplusplus
  12. extern "C" {
  13. #endif
  14. UA_HistoryDataBackend UA_EXPORT
  15. UA_HistoryDataBackend_Memory(size_t initialNodeIdStoreSize, size_t initialDataStoreSize);
  16. void UA_EXPORT
  17. UA_HistoryDataBackend_Memory_deleteMembers(UA_HistoryDataBackend *backend);
  18. #ifdef __cplusplus
  19. }
  20. #endif
  21. #endif /* UA_HISTORYDATABACKEND_MEMORY_H_ */