system_configuration_sys/lib.rs
1// Copyright 2017 Amagicom AB.
2//
3// Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
4// http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
5// <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
6// option. This file may not be copied, modified, or distributed
7// except according to those terms.
8
9//! Low level bindings to the Apple [SystemConfiguration] framework. Generated with bindgen.
10//! For a safe, higher level, API, check out the [`system-configuration`] crate.
11//!
12//! [SystemConfiguration]: https://developer.apple.com/documentation/systemconfiguration?language=objc
13//! [`system-configuration`]: https://crates.io/crates/system-configuration
14
15#![no_std]
16#![allow(non_camel_case_types)]
17#![allow(non_upper_case_globals)]
18#![allow(non_snake_case)]
19
20pub use core_foundation_sys;
21pub use libc;
22
23/// This is a temporary solution.
24pub type dispatch_queue_t = *mut libc::c_void;
25
26pub mod dynamic_store;
27pub mod dynamic_store_copy_specific;
28pub mod network_configuration;
29pub mod network_reachability;
30pub mod preferences;
31pub mod schema_definitions;