]> rtime.felk.cvut.cz Git - arc.git/blobdiff - include/PduR_LinIf.h
Merge branch 'mikulka' of git@rtime.felk.cvut.cz:arc into mikulka
[arc.git] / include / PduR_LinIf.h
index 3cdaa52a5801569fefa761244bec78bc1ce2c160..181e571662159fb1b48aa733e11cefb79f778761 100644 (file)
@@ -1,52 +1,36 @@
-/* -------------------------------- Arctic Core ------------------------------
- * Arctic Core - the open source AUTOSAR platform http://arccore.com
- *
- * Copyright (C) 2009  ArcCore AB <contact@arccore.com>
- *
- * This source code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 as published by the
- * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.
- *
- * This program is distributed in the hope that it will be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
- * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * for more details.
- * -------------------------------- Arctic Core ------------------------------*/
-
-
-
-
-
-
-
-
+/* -------------------------------- Arctic Core ------------------------------\r
+ * Arctic Core - the open source AUTOSAR platform http://arccore.com\r
+ *\r
+ * Copyright (C) 2009  ArcCore AB <contact@arccore.com>\r
+ *\r
+ * This source code is free software; you can redistribute it and/or modify it\r
+ * under the terms of the GNU General Public License version 2 as published by the\r
+ * Free Software Foundation; See <http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt>.\r
+ *\r
+ * This program is distributed in the hope that it will be useful, but\r
+ * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY\r
+ * or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License\r
+ * for more details.\r
+ * -------------------------------- Arctic Core ------------------------------*/\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
+\r
 #ifndef PDUR_LINIF_H_\r
 #define PDUR_LINIF_H_\r
 \r
 #include "PduR.h"\r
 \r
-#if (PDUR_ZERO_COST_OPERATION == STD_OFF)
-
-       void PduR_LinIfRxIndication(PduIdType LinRxPduId,const uint8* LinSduPtr);
-       void PduR_LinIfTxConfirmation(PduIdType LinTxPduId);
-       void PduR_LinIfTriggerTransmit(PduIdType LinTxPduId,uint8* LinSduPtr);
-
-#else // Zero cost operation active
-
-       #if (PDUR_LINIF_SUPPORT == STD_ON)
-
-               #define PduR_LinIfRxIndication Com_RxIndication
-               #define PduR_LinIfTxConfirmation Com_TxConfirmation
-               #define PduR_LinIfTriggerTransmit Com_TriggerTransmit
-
-       #else
-
-               #define PduR_LinIfRxIndication(...)
-               #define PduR_LinIfTxConfirmation(...)
-               #define PduR_LinIfTriggerTransmit(...)
-
-       #endif
-
-#endif // Zero cost operation active
-
+#if PDUR_ZERO_COST_OPERATION == STD_OFF\r
+\r
+void PduR_LinIfRxIndication(PduIdType LinRxPduId,const PduInfoType* PduInfoPtr);\r
+void PduR_LinIfTxConfirmation(PduIdType LinTxPduId);\r
+Std_ReturnType PduR_LinIfTriggerTransmit(PduIdType LinTxPduId,PduInfoType* PduInfoPtr);\r
+\r
+#endif\r
+\r
 #endif /*PDUR_LINIF_H_*/\r