ethlinkcbs.h 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /******************************************************************************
  2. * Copyright (c) 2019, Rockwell Automation, Inc.
  3. * All rights reserved.
  4. *
  5. *****************************************************************************/
  6. #ifndef OPENER_ETHLINKCBS_H_
  7. #define OPENER_ETHLINKCBS_H_
  8. /** @file
  9. * @brief Declaration of Ethernet Link object callbacks
  10. *
  11. * This header declares the Ethernet Link object callbacks. These callbacks
  12. * handle the update and clear operation for the interface and media counters
  13. * of every Ethernet Link object of our device.
  14. */
  15. /*---------------------------------------------------------------------------*/
  16. /* INCLUDES */
  17. /*---------------------------------------------------------------------------*/
  18. #include "typedefs.h"
  19. #include "ciptypes.h"
  20. /*---------------------------------------------------------------------------*/
  21. /* PROTOTYPES */
  22. /*---------------------------------------------------------------------------*/
  23. EipStatus EthLnkPreGetCallback
  24. (
  25. CipInstance *const instance,
  26. CipAttributeStruct *const attribute,
  27. CipByte service
  28. );
  29. EipStatus EthLnkPostGetCallback
  30. (
  31. CipInstance *const instance,
  32. CipAttributeStruct *const attribute,
  33. CipByte service
  34. );
  35. #endif /* #ifndef OPENER_ETHLINKCBS_H_ */