2#include <ossia/detail/config.hpp>
9#include <ossia-config.hpp>
18struct OSSIA_EXPORT minuit_connection_data
22 int32_t remote_port{};
26using osc_connection_data = minuit_connection_data;
28struct OSSIA_EXPORT oscquery_connection_data
35struct OSSIA_EXPORT zeroconf_server
38 zeroconf_server(
const zeroconf_server&) =
delete;
39 zeroconf_server(zeroconf_server&&) noexcept;
40 zeroconf_server& operator=(const zeroconf_server&) = delete;
41 zeroconf_server& operator=(zeroconf_server&&) noexcept;
44 zeroconf_server(std::unique_ptr<servus::Servus> s);
47 std::unique_ptr<servus::Servus> server;
54OSSIA_EXPORT
bool zeroconf_supported();
63OSSIA_EXPORT std::vector<minuit_connection_data> list_minuit_devices();
72OSSIA_EXPORT std::vector<oscquery_connection_data> list_oscquery_devices();
82OSSIA_EXPORT zeroconf_server make_zeroconf_server(
83 std::
string description, std::
string service, std::
string local_name,
84 int32_t local_port, int32_t remote_port);