/* * Copyright (c) 2023-2025 Vadym Hrynchyshyn */ #pragma once #include "dllspec.h" #include #include namespace libusbip { /* * @param utf-8 encoded message */ using output_func_type = std::function; /* * Set a function if you want to get debug messages from the library. */ USBIP_API void set_debug_output(const output_func_type &f); /* * Get installed debug function. */ USBIP_API const output_func_type& get_debug_output() noexcept; } // namespace libusbip