pub unsafe extern "C-unwind" fn SCDynamicStoreKeyCreateNetworkGlobalEntity(
allocator: Option<&CFAllocator>,
domain: &CFString,
entity: &CFString,
) -> CFRetained<CFString>Available on crate feature
SCDynamicStoreKey only.Expand description
Creates a dynamic store key that can be used to access a specific global (as opposed to a per-service or per-interface) network configuration entity.
Parameter allocator: The CFAllocator that should be used to allocate
memory for this key.
This parameter may be NULL in which case the current
default CFAllocator is used. If this reference is not
a valid CFAllocator, the behavior is undefined.
Parameter domain: A string specifying the desired domain, such as the
requested configuration (kSCDynamicStoreDomainSetup) or the
actual state (kSCDynamicStoreDomainState).
Parameter entity: A string containing the specific global entity, such
as IPv4 (kSCEntNetIPv4) or DNS (kSCEntNetDNS).
Returns: Returns a string containing the formatted key.