cspot_private.h 480 B

1234567891011121314151617181920212223242526
  1. /*
  2. * (c) Philippe 2020, philippe_44@outlook.com
  3. *
  4. * This software is released under the MIT License.
  5. * https://opensource.org/licenses/MIT
  6. *
  7. */
  8. #pragma once
  9. #include "cspot_sink.h"
  10. struct cspot_s;
  11. #ifdef __cplusplus
  12. extern "C"
  13. {
  14. #endif
  15. struct cspot_s* cspot_create(const char *name, httpd_handle_t server, int port, cspot_cmd_cb_t cmd_cb, cspot_data_cb_t data_cb);
  16. bool cspot_cmd(struct cspot_s *ctx, cspot_event_t event, void *param);
  17. #ifdef __cplusplus
  18. }
  19. #endif