1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#[macro_use]
extern crate log;
#[macro_use(lazy_static)]
extern crate lazy_static;
#[macro_use(bitflags)]
extern crate bitflags;
bitflags! {
pub struct DBusNameFlag: u32 {
const ALLOW_REPLACEMENT = 0x01;
const REPLACE_EXISTING = 0x02;
const DO_NOT_QUEUE = 0x04;
}
}
#[macro_use]
mod helper;
mod command;
mod connection;
mod dbus;
mod error;
mod handler;
mod introspect;
mod message;
pub use dbus::DBus;
pub use error::{DBusError, DBusResult};
pub use handler::{Binder, Handler};