ai_setting.h 860 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. /**
  2. * Copyright(c) 2011 Sunmedia Technologies - All Rights Reserved.
  3. *
  4. * @file
  5. *
  6. * @brief this file defines setting interface for afw layer.
  7. *
  8. */
  9. #ifndef __AI_SETTING_H__
  10. #define __AI_SETTING_H__
  11. #include "al_basictypes.h"
  12. #ifdef __cplusplus
  13. extern "C"{
  14. #endif
  15. /**
  16. * @brief initialize the system setting modules.
  17. *
  18. * This api is used to create mutex for protecting the shared resource
  19. * and so on.
  20. *
  21. * @param al_void.
  22. *
  23. * @return AL_SUCCESS if initialization is successful, AL_FAILURE
  24. * otherwise.
  25. */
  26. AL_Return_t AI_Setting_Init(al_void);
  27. /**
  28. * @brief Terminate the system setting modules.
  29. *
  30. * This api is used to delete mutex for protecting the shared resource
  31. * and so on.
  32. *
  33. * @param al_void.
  34. *
  35. * @return AL_SUCCESS if uninitialization is successful, AL_FAILURE
  36. * otherwise.
  37. */
  38. AL_Return_t AI_Setting_Term(al_void);
  39. #ifdef __cplusplus
  40. }
  41. #endif
  42. #endif