hexchat_api/
lib.rs

1
2//! This crate provides a Rust interface to the
3//! [Hexchat Plugin Interface](https://hexchat.readthedocs.io/en/latest/plugins.html)
4//! The primary object of the interface is
5//! [Hexchat],
6//! which exposes an interface with functions that mirror the C functions
7//! listed on the Hexchat docs page linked above.
8
9mod hook;
10mod callback_data;
11mod consts;
12mod context;
13mod errors;
14mod hexchat;
15mod hexchat_callbacks;
16mod hexchat_entry_points;
17mod list_item;
18mod list_iterator;
19mod plugin;
20mod thread_facilities;
21mod threadsafe_context;
22mod threadsafe_hexchat;
23mod threadsafe_list_iterator;
24mod user_data;
25mod utils;
26
27pub use hook::*;
28//pub use callback_data::*;
29pub use consts::*;
30pub use context::*;
31pub use errors::*;
32pub use hexchat::*;
33//pub use hexchat_callbacks::*;
34pub use hexchat_entry_points::*;
35pub use list_item::*;
36pub use list_iterator::*;
37pub use plugin::*;
38#[cfg(feature = "threadsafe")]
39pub use thread_facilities::*;
40#[cfg(feature = "threadsafe")]
41pub use threadsafe_context::*;
42#[cfg(feature = "threadsafe")]
43pub use threadsafe_hexchat::*;
44#[cfg(feature = "threadsafe")]
45pub use threadsafe_list_iterator::*;
46pub use user_data::*;
47#[allow(unused_imports)]
48pub use utils::*;
49