pub mod client;
pub mod envelope;
pub mod error;
pub mod message;
pub mod paths;
pub mod token;
pub mod transport;
#[cfg(windows)]
pub mod windows_frame;
pub use client::IpcClient;
pub use envelope::{IpcEnvelope, Origin};
pub use error::ProtocolError;
pub use message::{CredentialSummary, ExternalSecretField, IpcMessage};
pub use paths::{default_ipc_socket_path, default_ipc_token_path, get_config_dir};
pub use token::{load_ipc_token, load_or_create_ipc_token};
#[cfg(unix)]
pub use transport::unix::UnixSocketConnection;
#[cfg(windows)]
pub use transport::windows::WindowsNamedPipeConnection;
pub use transport::{TransportConfig, TransportError, TransportResult, MAX_MESSAGE_SIZE};
#[cfg(windows)]
pub use windows_frame::{
decrypt_windows_ipc_frame, encrypt_windows_ipc_frame, windows_named_pipe_path,
};
pub type Result<T> = std::result::Result<T, ProtocolError>;