You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
590 B

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. #pragma once
  2. #include <fstream>
  3. #include <functional>
  4. #include <iostream>
  5. #include <list>
  6. #include <map>
  7. #include <memory>
  8. #include <mutex>
  9. #include <set>
  10. #include <sstream>
  11. #include <string>
  12. #include <vector>
  13. #include "xsync_v2_sig_type.hpp"
  14. //
  15. namespace xsync {
  16. uint32_t ipToUint32(const std::string &ipAddress, bool &suc);
  17. string uint32ToIp(uint32_t ip);
  18. XsyncTimecode_t timecode64ToXsyncTimeCode(Timecode64_t tc64);
  19. Timecode64_t timecodeTo64(XsyncTimecode_t tc);
  20. int64_t Xsync_GetTicket();
  21. bool Xsync_feq(float a, float b, float epsilon = 0.0001);
  22. }; // namespace xsync