From 015bb4fa79d01a1e2d4887cba96d150c7e1dd3bb Mon Sep 17 00:00:00 2001 From: Glenn Smith Date: Wed, 12 Jun 2024 21:59:50 -0400 Subject: [Enterprise] Clean up initialization flow --- enterprise.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'enterprise.h') diff --git a/enterprise.h b/enterprise.h index c3e02f27..d75f4e5f 100644 --- a/enterprise.h +++ b/enterprise.h @@ -40,6 +40,18 @@ namespace BinaryNinja EnterpriseException(const std::string& what): std::runtime_error(what) {} }; + /*! + Determine if the Enterprise Client has been initialized yet. + \return True if Initialize() has been called successfully + */ + bool IsInitialized(); + + /*! + Initialize the Enterprise Client + \return True if successful + */ + bool Initialize(); + /*! Authenticate to the Enterprise server with username and password \param username Username to authenticate with -- cgit v1.3.1