sp_sps.h 722 B

1234567891011121314151617181920212223242526272829303132
  1. /***********************************//**
  2. * @file sp_sps.h
  3. * @copyright China Merchants Bank Co.,Ltd All rights reserved
  4. *
  5. * @brief silverlight
  6. * @details
  7. **************************************/
  8. #ifndef __SP_SPS_H
  9. #define __SP_SPS_H
  10. #pragma once
  11. //TODO: CrossPlaform 评审是否需要移除,目前不走Slierlight这一套,直接用Websocket通讯 [Gifur@2025820]
  12. #ifdef __cplusplus
  13. extern "C"
  14. {
  15. #endif
  16. /** silver-light policy server */
  17. typedef struct sp_sps_t sp_sps_t;
  18. SPBASE_API int sp_sps_create(sp_sps_t **p_sps);
  19. SPBASE_API int sp_sps_start(sp_sps_t *sps);
  20. SPBASE_API void sp_sps_stop(sp_sps_t *sps);
  21. SPBASE_API void sp_sps_destroy(sp_sps_t *sps);
  22. #ifdef __cplusplus
  23. }
  24. #endif
  25. #endif // __SP_SPS_H