Renamed ec_master_receive() to ec_master_receive_datagrams().
authorFlorian Pose <fp@igh-essen.com>
Thu, 03 Aug 2006 19:47:29 +0000
changeset 331 17f58fe99511
parent 330 b984763cecc2
child 332 e16093374dfd
Renamed ec_master_receive() to ec_master_receive_datagrams().
master/device.c
master/master.c
master/master.h
--- a/master/device.c	Thu Aug 03 19:17:08 2006 +0000
+++ b/master/device.c	Thu Aug 03 19:47:29 2006 +0000
@@ -245,7 +245,9 @@
 
     ec_debug_send(&device->dbg, data, size);
 
-    ec_master_receive(device->master, data + ETH_HLEN, size - ETH_HLEN);
+    ec_master_receive_datagrams(device->master,
+                                data + ETH_HLEN,
+                                size - ETH_HLEN);
 }
 
 /*****************************************************************************/
--- a/master/master.c	Thu Aug 03 19:17:08 2006 +0000
+++ b/master/master.c	Thu Aug 03 19:47:29 2006 +0000
@@ -406,10 +406,10 @@
    \return 0 in case of success, else < 0
 */
 
-void ec_master_receive(ec_master_t *master, /**< EtherCAT master */
-                       const uint8_t *frame_data, /**< received data */
-                       size_t size /**< size of the received data */
-                       )
+void ec_master_receive_datagrams(ec_master_t *master, /**< EtherCAT master */
+                                 const uint8_t *frame_data, /**< frame data */
+                                 size_t size /**< size of the received data */
+                                 )
 {
     size_t frame_size, data_size;
     uint8_t datagram_type, datagram_index;
--- a/master/master.h	Thu Aug 03 19:17:08 2006 +0000
+++ b/master/master.h	Thu Aug 03 19:47:29 2006 +0000
@@ -141,7 +141,7 @@
 void ec_master_eoe_stop(ec_master_t *);
 
 // IO
-void ec_master_receive(ec_master_t *, const uint8_t *, size_t);
+void ec_master_receive_datagrams(ec_master_t *, const uint8_t *, size_t);
 void ec_master_queue_datagram(ec_master_t *, ec_datagram_t *);
 
 // slave management