#[repr(C)]pub struct r_parse_plugin_t {
pub name: *mut c_char,
pub desc: *mut c_char,
pub init: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> bool>,
pub fini: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> c_int>,
pub parse: Option<unsafe extern "C" fn(p: *mut RParse, data: *const c_char, str_: *mut c_char) -> c_int>,
pub assemble: Option<unsafe extern "C" fn(p: *mut RParse, data: *mut c_char, str_: *mut c_char) -> bool>,
pub filter: Option<unsafe extern "C" fn(p: *mut RParse, addr: c_ulonglong, f: *mut RFlag, data: *mut c_char, str_: *mut c_char, len: c_int, big_endian: bool) -> c_int>,
pub subvar: Option<unsafe extern "C" fn(p: *mut RParse, f: *mut RAnalFunction, addr: c_ulonglong, oplen: c_int, data: *mut c_char, str_: *mut c_char, len: c_int) -> bool>,
pub replace: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *const c_char, newstr: *mut c_char) -> c_int>,
}
Fields§
§name: *mut c_char
§desc: *mut c_char
§init: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> bool>
§fini: Option<unsafe extern "C" fn(p: *mut RParse, user: *mut c_void) -> c_int>
§parse: Option<unsafe extern "C" fn(p: *mut RParse, data: *const c_char, str_: *mut c_char) -> c_int>
§assemble: Option<unsafe extern "C" fn(p: *mut RParse, data: *mut c_char, str_: *mut c_char) -> bool>
§filter: Option<unsafe extern "C" fn(p: *mut RParse, addr: c_ulonglong, f: *mut RFlag, data: *mut c_char, str_: *mut c_char, len: c_int, big_endian: bool) -> c_int>
§subvar: Option<unsafe extern "C" fn(p: *mut RParse, f: *mut RAnalFunction, addr: c_ulonglong, oplen: c_int, data: *mut c_char, str_: *mut c_char, len: c_int) -> bool>
§replace: Option<unsafe extern "C" fn(argc: c_int, argv: *mut *const c_char, newstr: *mut c_char) -> c_int>
Trait Implementations§
Source§impl Clone for r_parse_plugin_t
impl Clone for r_parse_plugin_t
Source§fn clone(&self) -> r_parse_plugin_t
fn clone(&self) -> r_parse_plugin_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for r_parse_plugin_t
impl Debug for r_parse_plugin_t
impl Copy for r_parse_plugin_t
Auto Trait Implementations§
impl Freeze for r_parse_plugin_t
impl RefUnwindSafe for r_parse_plugin_t
impl !Send for r_parse_plugin_t
impl !Sync for r_parse_plugin_t
impl Unpin for r_parse_plugin_t
impl UnwindSafe for r_parse_plugin_t
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more