Skip to content

Commit

Permalink
add is_enterprise_server_initialized
Browse files Browse the repository at this point in the history
  • Loading branch information
rbran committed May 16, 2024
1 parent e352c69 commit 09a967c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rust/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,10 @@ pub fn is_enterprise_server_authenticated() -> bool {
unsafe { binaryninjacore_sys::BNIsEnterpriseServerAuthenticated() }
}

pub fn is_enterprise_server_initialized() -> bool {
unsafe { binaryninjacore_sys::BNIsEnterpriseServerInitialized() }
}

pub fn enterprise_server_last_error() -> string::BnString {
unsafe { string::BnString::from_raw(binaryninjacore_sys::BNGetEnterpriseServerLastError()) }
}
Expand Down

0 comments on commit 09a967c

Please sign in to comment.