slave.h 320 B

1234567891011121314151617181920
  1. #ifndef __SLAVE_H
  2. #define __SLAVE_H
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. #include <stdint.h>
  7. #include <pthread.h>
  8. #include "agile_modbus.h"
  9. #include "agile_modbus_slave_util.h"
  10. extern pthread_mutex_t slave_mtx;
  11. extern const agile_modbus_slave_util_t slave_util;
  12. #ifdef __cplusplus
  13. }
  14. #endif
  15. #endif /* __SLAVE_H */