26 lines
365 B
C
26 lines
365 B
C
/**
|
|
* DI CAN context locking
|
|
*/
|
|
#ifndef LIBDI_INCLUDE_CAN_LOCK_H_
|
|
#define LIBDI_INCLUDE_CAN_LOCK_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/**
|
|
* Lock the can context
|
|
*/
|
|
void di_can_lock(struct di_can_ctx *ctx);
|
|
|
|
/**
|
|
* Unlock the can context
|
|
*/
|
|
void di_can_unlock(struct di_can_ctx *ctx);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* LIBDI_INCLUDE_CAN_LOCK_H_ */
|