Skip to main content

MethodCallbackCT

Type Alias MethodCallbackCT 

Source
pub type MethodCallbackCT = Option<unsafe extern "C" fn(method_: *const c_char, req_type_: *const c_char, resp_type_: *const c_char, request_: *const c_char, request_len_: c_int, response_: *mut *mut c_void, response_len_: *mut c_int, par_: *mut c_void) -> c_int>;
Expand description

@brief eCAL service method callback function (server side)

@param method_ Method name. @param req_type_ Type of the request message. @param resp_type_ Type of the response message. @param request_ Request payload. @param request_len_ Request payload length. @param [out] reponse_ Method response payload. @param [out] reponse_len_ Method response payload length. @param par_ Forwarded user defined parameter.

Aliased Type§

pub enum MethodCallbackCT {
    None,
    Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, *const i8, i32, *mut *mut c_void, *mut i32, *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const i8, *const i8, *const i8, *const i8, i32, *mut *mut c_void, *mut i32, *mut c_void) -> i32)

Some value of type T.