src.dualinventive.com/fw/dncm/libdi/include/di/device/lock.h

32 lines
498 B
C

/**
* 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_ */