mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-02 20:41:28 +03:00
add mobile_ffi.rs
This commit is contained in:
@@ -314,6 +314,9 @@ unsafe extern "C" fn set_by_name(name: *const c_char, value: *const c_char) {
|
|||||||
"input_os_password" => {
|
"input_os_password" => {
|
||||||
Session::input_os_password(value.to_owned(), true);
|
Session::input_os_password(value.to_owned(), true);
|
||||||
}
|
}
|
||||||
|
"restart_remote_device" => {
|
||||||
|
Session::restart_remote_device();
|
||||||
|
}
|
||||||
// File Action
|
// File Action
|
||||||
"read_remote_dir" => {
|
"read_remote_dir" => {
|
||||||
if let Ok(m) = serde_json::from_str::<HashMap<String, String>>(value) {
|
if let Ok(m) = serde_json::from_str::<HashMap<String, String>>(value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user