property_inner.h 623 B

12345678910111213141516171819202122232425262728293031323334
  1. /*
  2. * Copyright (c) 2018 Actions Semiconductor Co., Ltd
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. /**
  7. * @file property manager interface
  8. */
  9. #ifndef __PROPERTY_INNER_H__
  10. #define __PROPERTY_INNER_H__
  11. #ifdef CONFIG_NVRAM_CONFIG
  12. #include <drivers/nvram_config.h>
  13. #endif
  14. #ifdef CONFIG_PROPERTY_CACHE
  15. int property_cache_get(const char *name, void *data, int len);
  16. int property_cache_set(const char *name, const void *data, int len);
  17. int property_cache_flush(const char *name);
  18. int property_cache_flush_req(const char *name);
  19. int property_cache_flush_req_deal(void);
  20. int property_cache_init(void);
  21. #endif
  22. #endif