ua_historydatabackend_memory.h 757 B

1234567891011121314151617181920212223242526
  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. _UA_BEGIN_DECLS
  11. #define INITIAL_MEMORY_STORE_SIZE 1000
  12. UA_HistoryDataBackend UA_EXPORT
  13. UA_HistoryDataBackend_Memory(size_t initialNodeIdStoreSize, size_t initialDataStoreSize);
  14. void UA_EXPORT
  15. UA_HistoryDataBackend_Memory_deleteMembers(UA_HistoryDataBackend *backend);
  16. _UA_END_DECLS
  17. #endif /* UA_HISTORYDATABACKEND_MEMORY_H_ */