Handle MT_L2IDLE
[lcr.git] / endpointapp.cpp
index 05d5d0b..158b3d6 100644 (file)
@@ -9,14 +9,12 @@
 **                                                                           **
 \*****************************************************************************/ 
 
-
-#include <stdio.h>
 #include "main.h"
 
 /*
  * EndpointApp constructor
  */
-EndpointApp::EndpointApp(class Endpoint *epoint)
+EndpointApp::EndpointApp(class Endpoint *epoint, int origin)
 {
        ea_endpoint = epoint;
        classuse++;
@@ -30,19 +28,14 @@ EndpointApp::~EndpointApp(void)
        classuse--;
 }
 
-int EndpointApp::handler(void)
-{
-       return(0);
-}
-
 /* mini application for test purpose only */
 
-void EndpointApp::ea_message_port(unsigned long port_id, int message_type, union parameter *param)
+void EndpointApp::ea_message_port(unsigned int port_id, int message_type, union parameter *param)
 {
        PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
 }
 
-void EndpointApp::ea_message_join(unsigned long join_id, int message_type, union parameter *param)
+void EndpointApp::ea_message_join(unsigned int join_id, int message_type, union parameter *param)
 {
        PDEBUG(DEBUG_EPOINT, "%s: Spare function.\n", __FUNCTION__);
 }