#![no_std]
#![allow(unsafe_code)]
#![warn(unsafe_op_in_unsafe_fn)]
#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
extern crate alloc;
extern crate std;
#[macro_use]
mod macros;
mod auth;
mod block_on;
mod channel;
mod connection;
mod error;
mod feature;
mod incoming;
mod keys;
#[cfg(feature = "pairing")]
mod pairing;
mod reverse;
mod shell;
mod slice;
mod transport;
pub use auth::{adb_authenticator_t, AdbSignFn};
pub use channel::{adb_close_channel, adb_open_channel, adb_read_channel, adb_write_channel};
pub use connection::{
adb_connect, adb_connect_with_authenticator, adb_connection_delayed_ack,
adb_connection_device_banner, adb_connection_free, adb_connection_max_payload,
adb_connection_set_io_timeout_ms, adb_connection_t,
};
pub use error::{adb_last_error, AdbStatus};
pub use feature::{adb_connection_features, adb_connection_has_feature, adb_feature_name};
pub use incoming::{adb_accept_channel, adb_incoming_accept, adb_incoming_reject};
pub use keys::{
adb_key_free, adb_key_load_or_generate, adb_key_private_key_pem, adb_key_public_key, adb_key_t,
};
#[cfg(feature = "pairing")]
pub use pairing::adb_pair;
pub use reverse::{
adb_reverse_forward, adb_reverse_list, adb_reverse_remove, adb_reverse_remove_all,
};
pub use shell::{
adb_shell_close, adb_shell_close_stdin, adb_shell_free, adb_shell_open, adb_shell_read_frame,
adb_shell_set_window_size, adb_shell_t, adb_shell_write_stdin,
};