1#![cfg_attr(docsrs, feature(doc_cfg))]
4#![allow(clippy::type_complexity)]
5#![allow(clippy::too_many_arguments)]
6#![allow(clippy::missing_safety_doc)]
7#![allow(clippy::manual_c_str_literals)]
8#![doc = include_str!("../README.md")]
9
10pub use gio_sys as ffi;
11pub use glib;
12
13mod action_entry;
14mod action_map;
15#[cfg(feature = "v2_60")]
16mod app_info;
17mod application;
18pub use action_entry::{ActionEntry, ActionEntryBuilder};
19pub use application::{ApplicationBusyGuard, ApplicationHoldGuard};
20mod application_command_line;
21mod async_initable;
22mod cancellable;
23pub use cancellable::CancelledHandlerId;
24mod cancellable_future;
25pub use crate::cancellable_future::{CancellableFuture, Cancelled};
26mod content_type;
27mod converter;
28mod credentials;
29mod data_input_stream;
30mod datagram_based;
31mod dbus;
32pub use self::dbus::*;
33mod dbus_connection;
34pub use self::dbus_connection::{
35 ActionGroupExportId, DBusSignalRef, FilterId, MenuModelExportId, RegistrationBuilder,
36 RegistrationId, SignalSubscription, SignalSubscriptionId, SubscribedSignalStream, WatcherId,
37 WeakSignalSubscription,
38};
39mod dbus_message;
40mod dbus_method_invocation;
41mod dbus_node_info;
42#[cfg(feature = "v2_72")]
43#[cfg_attr(docsrs, doc(cfg(feature = "v2_72")))]
44mod debug_controller_dbus;
45#[cfg(all(not(windows), not(target_os = "macos")))]
46mod desktop_app_info;
47mod error;
48mod file;
49mod file_attribute_info;
50pub use crate::file_attribute_info::FileAttributeInfo;
51mod file_attribute_info_list;
52mod file_attribute_matcher;
53pub use crate::file_attribute_matcher::FileAttributematcherIter;
54mod file_attribute_value;
55pub use file_attribute_value::FileAttributeValue;
56#[cfg(unix)]
57mod file_descriptor_based;
58#[cfg(unix)]
59pub use file_descriptor_based::FileDescriptorBased;
60mod file_enumerator;
61pub use crate::file_enumerator::FileEnumeratorStream;
62mod file_info;
63mod flags;
64mod inet_address;
65pub use crate::inet_address::InetAddressBytes;
66mod inet_socket_address;
67mod io_stream;
68pub use crate::io_stream::IOStreamAsyncReadWrite;
69mod initable;
70mod input_stream;
71pub use crate::input_stream::{InputStreamAsyncBufRead, InputStreamRead};
72mod list_model;
73mod list_store;
74#[cfg(test)]
75mod memory_input_stream;
76#[cfg(test)]
77mod memory_output_stream;
78mod output_stream;
79pub use crate::output_stream::OutputStreamWrite;
80mod pollable_input_stream;
81pub use crate::pollable_input_stream::InputStreamAsyncRead;
82mod pollable_output_stream;
83pub use crate::pollable_output_stream::OutputStreamAsyncWrite;
84mod resource;
85pub use crate::resource::resources_register_include_impl;
86mod settings;
87pub use crate::settings::BindingBuilder;
88mod simple_proxy_resolver;
89mod socket;
90pub use socket::{InputMessage, InputVector, OutputMessage, OutputVector, SocketControlMessages};
91mod socket_control_message;
92mod socket_listener;
93mod socket_msg_flags;
94pub use socket_msg_flags::SocketMsgFlags;
95mod dbus_object_manager_client;
96mod subprocess;
97mod subprocess_launcher;
98mod threaded_socket_service;
99#[cfg(unix)]
100mod unix_fd_list;
101#[cfg(unix)]
102mod unix_fd_message;
103#[cfg(unix)]
104mod unix_input_stream;
105#[cfg(unix)]
106mod unix_mount_entry;
107#[cfg(unix)]
108mod unix_mount_point;
109#[cfg(unix)]
110mod unix_output_stream;
111#[cfg(unix)]
112mod unix_socket_address;
113
114#[cfg(test)]
115mod test_util;
116
117pub mod builders {
118 pub use super::async_initable::AsyncInitableBuilder;
119 pub use super::auto::builders::*;
120 pub use super::initable::InitableBuilder;
121}
122
123pub mod functions {
124 pub use super::auto::functions::*;
125 pub use super::content_type::content_type_guess;
126}
127
128pub use crate::auto::*;
129pub use crate::functions::*;
130pub mod prelude;
131
132#[allow(clippy::missing_safety_doc)]
133#[allow(clippy::new_ret_no_self)]
134#[allow(unused_imports)]
135mod auto;
136
137mod gio_future;
138pub use crate::gio_future::*;
139
140mod io_extension;
141pub use crate::io_extension::*;
142
143mod io_extension_point;
144pub use crate::io_extension_point::*;
145
146mod task;
147pub use crate::task::*;
148
149#[macro_use]
150pub mod subclass;
151mod read_input_stream;
152pub use crate::read_input_stream::ReadInputStream;
153mod write_output_stream;
154pub use crate::write_output_stream::WriteOutputStream;
155mod dbus_proxy;
156mod tls_connection;
157
158#[cfg(windows)]
159mod win32_input_stream;
160#[cfg(windows)]
161pub use self::win32_input_stream::Win32InputStream;
162
163#[cfg(windows)]
164mod win32_output_stream;
165#[cfg(windows)]
166pub use self::win32_output_stream::Win32OutputStream;