mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-03-19 19:21:13 +03:00
feat: add session related function
This commit is contained in:
@@ -6,8 +6,8 @@ use std::{ffi::{c_char, c_void}, os::raw::c_uint};
|
||||
/// The data is owned by librustdesk.
|
||||
#[repr(C)]
|
||||
pub struct NativeReturnValue{
|
||||
return_type: c_uint,
|
||||
data: *const c_void
|
||||
pub return_type: c_uint,
|
||||
pub data: *const c_void
|
||||
}
|
||||
|
||||
pub(super) extern "C" fn cb_native_data(method: *const c_char, json: *const c_char, raw: *const c_void, raw_len: usize) -> NativeReturnValue {
|
||||
|
||||
Reference in New Issue
Block a user