/** * DI Device module locking */ #ifndef LIBDI_INCLUDE_DEVICE_LOCK_H_ #define LIBDI_INCLUDE_DEVICE_LOCK_H_ #ifdef __cplusplus extern "C" { #endif /** * Initialize the device module * @note This should be called directly, this is executed from di_device_init. */ void di_device_lock_init(void); /** * Lock the device module */ void di_device_lock(void); /** * Unlock device module */ void di_device_unlock(void); #ifdef __cplusplus } #endif #endif /* LIBDI_INCLUDE_DEVICE_LOCK_H_ */