mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
@@ -15,9 +15,9 @@ lazy_static::lazy_static! {
|
||||
}
|
||||
|
||||
#[derive(Debug, Default, Serialize, Deserialize)]
|
||||
struct LocalConfig(HashMap<String, String>);
|
||||
pub struct LocalConfig(HashMap<String, String>);
|
||||
#[derive(Debug, Default, Serialize, Deserialize)]
|
||||
struct PeerConfig(HashMap<String, String>);
|
||||
pub struct PeerConfig(HashMap<String, String>);
|
||||
type PeersConfig = HashMap<String, PeerConfig>;
|
||||
|
||||
#[inline]
|
||||
|
||||
@@ -12,6 +12,8 @@ pub use plugins::{
|
||||
reload_plugin, unload_plugin,
|
||||
};
|
||||
|
||||
pub use config::{LocalConfig, PeerConfig};
|
||||
|
||||
#[inline]
|
||||
fn cstr_to_string(cstr: *const c_char) -> ResultType<String> {
|
||||
Ok(String::from_utf8(unsafe {
|
||||
|
||||
Reference in New Issue
Block a user