rtc_shared/ifaces/ffi/
mod.rs1#[cfg(target_family = "windows")]
2mod windows;
3#[cfg(target_family = "windows")]
4pub use self::windows::ifaces;
5
6#[cfg(target_family = "unix")]
7mod unix;
8#[cfg(target_family = "unix")]
9pub use self::unix::ifaces;
10
11#[cfg(not(any(target_family = "windows", target_family = "unix")))]
22pub fn ifaces() -> Result<Vec<super::Interface>, std::io::Error> {
23 Err(std::io::Error::new(
24 std::io::ErrorKind::Unsupported,
25 "ifaces is not supported on this platform",
26 ))
27}