2023-04-17 11:15:37 +02:00
|
|
|
package internal
|
|
|
|
|
|
|
|
import (
|
2024-10-02 18:24:22 +02:00
|
|
|
"github.com/netbirdio/netbird/client/iface/device"
|
2023-07-14 21:56:22 +02:00
|
|
|
"github.com/netbirdio/netbird/client/internal/dns"
|
2023-11-02 19:04:33 +01:00
|
|
|
"github.com/netbirdio/netbird/client/internal/listener"
|
2023-04-17 11:15:37 +02:00
|
|
|
"github.com/netbirdio/netbird/client/internal/stdnet"
|
|
|
|
)
|
|
|
|
|
|
|
|
// MobileDependency collect all dependencies for mobile platform
|
|
|
|
type MobileDependency struct {
|
2024-01-03 16:06:20 +01:00
|
|
|
// Android only
|
2024-10-02 18:24:22 +02:00
|
|
|
TunAdapter device.TunAdapter
|
2023-11-02 19:04:33 +01:00
|
|
|
IFaceDiscover stdnet.ExternalIFaceDiscover
|
|
|
|
NetworkChangeListener listener.NetworkChangeListener
|
|
|
|
HostDNSAddresses []string
|
|
|
|
DnsReadyListener dns.ReadyListener
|
2024-01-03 16:06:20 +01:00
|
|
|
|
|
|
|
// iOS only
|
|
|
|
DnsManager dns.IosDnsManager
|
|
|
|
FileDescriptor int32
|
2023-04-17 11:15:37 +02:00
|
|
|
}
|