10#include <ScanbotSDKDefs.h>
12#include <ScanbotSDKImport.h>
ScanbotSDK Error Code C API.
scanbotsdk_error_code_t
The error codes returned by most of the Scanbot SDK functions.
Definition ScanbotSDKErrorCode.h:25
SBSDK_API scanbotsdk_error_code_t scanbotsdk_wait_for_device_deregistration_completion(int timeout_ms)
Wait for the completion of the all device deregistration processes. See scanbotsdk_deregister_device ...
const char * writeable_path
Path to which the SDK can write internal data.
Definition ScanbotSDK.h:39
SBSDK_API scanbotsdk_error_code_t scanbotsdk_wait_for_online_license_check_completion(int timeout_ms)
Wait for the completion of the online license check. Returns immediately if there's no online license...
SBSDK_API const char * scanbotsdk_get_git_version()
Returns the git version of the Scanbot SDK as a null-terminated string.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_deregister_device()
Effectively notifies the server that the license is no longer used by this device.
const char * license_key
The license key. Must be a null terminated string.
Definition ScanbotSDK.h:36
SBSDK_API scanbotsdk_error_code_t scanbotsdk_initialize(const scanbotsdk_init_params_t *init_params)
Initialize the Scanbot SDK. You must always call this function before using any other Scanbot SDK fun...
SBSDK_API scanbotsdk_error_code_t scanbotsdk_get_license_info(scanbotsdk_license_info_t **info)
Returns the current license information.
Initialization parameters for the Scanbot SDK.
Definition ScanbotSDK.h:34
SBSDK_API scanbotsdk_error_code_t scanbotsdk_reset_log_handler()
Resets any previously set log handler.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_log_error(const char *message)
Logs an error message using the Scanbot SDK logger.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_set_logging(bool enable)
Enable or disable logging.
SBSDK_API scanbotsdk_error_code_t scanbotsdk_set_log_handler(void(*log_handler)(const char *message))
Sets the log handler.
struct scanbotsdk_license_info_t scanbotsdk_license_info_t
scanbotsdk_license_info_t class
Definition ScanbotSDKLicensingTypes.h:134