]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Staging: epl: run Lindent on all user/*.h files
authorGreg Kroah-Hartman <gregkh@suse.de>
Sat, 20 Dec 2008 01:08:04 +0000 (17:08 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 6 Jan 2009 21:52:37 +0000 (13:52 -0800)
It's a start, still a mess...

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
19 files changed:
drivers/staging/epl/user/EplCfgMau.h
drivers/staging/epl/user/EplDllu.h
drivers/staging/epl/user/EplDlluCal.h
drivers/staging/epl/user/EplEventu.h
drivers/staging/epl/user/EplIdentu.h
drivers/staging/epl/user/EplLedu.h
drivers/staging/epl/user/EplNmtCnu.h
drivers/staging/epl/user/EplNmtMnu.h
drivers/staging/epl/user/EplNmtu.h
drivers/staging/epl/user/EplNmtuCal.h
drivers/staging/epl/user/EplObdu.h
drivers/staging/epl/user/EplObduCal.h
drivers/staging/epl/user/EplPdou.h
drivers/staging/epl/user/EplSdoAsndu.h
drivers/staging/epl/user/EplSdoAsySequ.h
drivers/staging/epl/user/EplSdoComu.h
drivers/staging/epl/user/EplSdoUdpu.h
drivers/staging/epl/user/EplStatusu.h
drivers/staging/epl/user/EplTimeru.h

index 3d96daf889e335c95a1e63370a50db312822e25b..d25a1e9d36cf534aa68d818f93f993dae24e739d 100644 (file)
 #define EPL_CFGMA_MAX_TIMEOUT   3
 
 //callbackfunction, called if configuration is finished
-typedef void (PUBLIC* tfpEplCfgMaCb) (unsigned int uiNodeId_p,
-                                tEplKernel Errorstate_p);
+typedef void (PUBLIC * tfpEplCfgMaCb) (unsigned int uiNodeId_p,
+                                      tEplKernel Errorstate_p);
 
 //State for configuartion manager Statemachine
-typedef enum
-{
-    // general states
-    kEplCfgMaIdle                  = 0x0000,  // Configurationsprocess
-                                              // is idle
-    kEplCfgMaWaitForSdocEvent      = 0x0001,  // wait until the last
-                                              // SDOC is finisched
-    kEplCfgMaSkipMappingSub0       = 0x0002,  // write Sub0 of mapping
-                                              // parameter with 0
-
-    kEplCfgMaFinished              = 0x0004   // configuartion is finished
-
+typedef enum {
+       // general states
+       kEplCfgMaIdle = 0x0000, // Configurationsprocess
+       // is idle
+       kEplCfgMaWaitForSdocEvent = 0x0001,     // wait until the last
+       // SDOC is finisched
+       kEplCfgMaSkipMappingSub0 = 0x0002,      // write Sub0 of mapping
+       // parameter with 0
+
+       kEplCfgMaFinished = 0x0004      // configuartion is finished
 } tEplCfgState;
 
-typedef enum
-{
-    kEplCfgMaDcfTypSystecSeg     = 0x00,
-    kEplCfgMaDcfTypConDcf        = 0x01,
-    kEplCfgMaDcfTypDcf           = 0x02, // not supported
-    kEplCfgMaDcfTypXdc           = 0x03  // not supported
-
-
-}tEplCfgMaDcfTyp;
+typedef enum {
+       kEplCfgMaDcfTypSystecSeg = 0x00,
+       kEplCfgMaDcfTypConDcf = 0x01,
+       kEplCfgMaDcfTypDcf = 0x02,      // not supported
+       kEplCfgMaDcfTypXdc = 0x03       // not supported
+} tEplCfgMaDcfTyp;
 
-typedef enum
-{
-    kEplCfgMaCommon                = 0,        // all other index
-    kEplCfgMaPdoComm               = 1,        // communication index
-    kEplCfgMaPdoMapp               = 2,        // mapping index
-    kEplCfgMaPdoCommAfterMapp      = 3,        // write PDO Cob-Id after mapping subindex 0(set PDO valid)
+typedef enum {
+       kEplCfgMaCommon = 0,    // all other index
+       kEplCfgMaPdoComm = 1,   // communication index
+       kEplCfgMaPdoMapp = 2,   // mapping index
+       kEplCfgMaPdoCommAfterMapp = 3,  // write PDO Cob-Id after mapping subindex 0(set PDO valid)
 
 } tEplCfgMaIndexType;
 
-
 //bitcoded answer about the last sdo transfer saved in m_SdocState
 // also used to singal start of the State Maschine
-typedef enum
-{
-    kEplCfgMaSdocBusy           =   0x00,   // SDOC activ
-    kEplCfgMaSdocReady          =   0x01,   // SDOC finished
-    kEplCfgMaSdocTimeout        =   0x02,   // SDOC Timeout
-    kEplCfgMaSdocAbortReceived  =   0x04,   // SDOC Abort, see Abortcode
-    kEplCfgMaSdocStart          =   0x08    // start State Mschine
-}tEplSdocState;
+typedef enum {
+       kEplCfgMaSdocBusy = 0x00,       // SDOC activ
+       kEplCfgMaSdocReady = 0x01,      // SDOC finished
+       kEplCfgMaSdocTimeout = 0x02,    // SDOC Timeout
+       kEplCfgMaSdocAbortReceived = 0x04,      // SDOC Abort, see Abortcode
+       kEplCfgMaSdocStart = 0x08       // start State Mschine
+} tEplSdocState;
 
 //internal structure (instancetable for modul configuration manager)
-typedef struct
-{
-    tEplCfgState        m_CfgState;             // state of the configuration state maschine
-    tEplSdoComConHdl    m_SdoComConHdl;         // handle for sdo connection
-    DWORD               m_dwLastAbortCode;
-    unsigned int        m_uiLastIndex;          // last index of configuration, to compair with actual index
-    BYTE*               m_pbConcise;            // Ptr to concise DCF
-    BYTE*               m_pbActualIndex;        // Ptr to actual index in the DCF segment
-    tfpEplCfgMaCb       m_pfnCfgMaCb;           // Ptr to CfgMa Callback, is call if configuration finished
-    tEplKernel          m_EplKernelError;       // errorcode
-    DWORD               m_dwNumValueCopy;       // numeric values are copied in this variable
-    unsigned int        m_uiPdoNodeId;          // buffer for PDO node id
-    BYTE                m_bNrOfMappedObject;    // number of mapped objects
-    unsigned int        m_uiNodeId;             // Epl node addresse
-    tEplSdocState       m_SdocState;            // bitcoded state of the SDO transfer
-    unsigned int        m_uiLastSubIndex;       // last subindex of configuration
-    BOOL                m_fOneTranferOk;        // atleased one transfer was successful
-    BYTE                m_bEventFlag;           // for Eventsignaling to the State Maschine
-    DWORD               m_dwCntObjectInDcf;     // number of Objects in DCF
-    tEplCfgMaIndexType  m_SkipCfg;              // TRUE if a adsitional Configurationprocess
-                                                // have to insert e.g. PDO-mapping
-    WORD                m_wTimeOutCnt;          // Timeout Counter, break configuration is
-                                                // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT
+typedef struct {
+       tEplCfgState m_CfgState;        // state of the configuration state maschine
+       tEplSdoComConHdl m_SdoComConHdl;        // handle for sdo connection
+       DWORD m_dwLastAbortCode;
+       unsigned int m_uiLastIndex;     // last index of configuration, to compair with actual index
+       BYTE *m_pbConcise;      // Ptr to concise DCF
+       BYTE *m_pbActualIndex;  // Ptr to actual index in the DCF segment
+       tfpEplCfgMaCb m_pfnCfgMaCb;     // Ptr to CfgMa Callback, is call if configuration finished
+       tEplKernel m_EplKernelError;    // errorcode
+       DWORD m_dwNumValueCopy; // numeric values are copied in this variable
+       unsigned int m_uiPdoNodeId;     // buffer for PDO node id
+       BYTE m_bNrOfMappedObject;       // number of mapped objects
+       unsigned int m_uiNodeId;        // Epl node addresse
+       tEplSdocState m_SdocState;      // bitcoded state of the SDO transfer
+       unsigned int m_uiLastSubIndex;  // last subindex of configuration
+       BOOL m_fOneTranferOk;   // atleased one transfer was successful
+       BYTE m_bEventFlag;      // for Eventsignaling to the State Maschine
+       DWORD m_dwCntObjectInDcf;       // number of Objects in DCF
+       tEplCfgMaIndexType m_SkipCfg;   // TRUE if a adsitional Configurationprocess
+       // have to insert e.g. PDO-mapping
+       WORD m_wTimeOutCnt;     // Timeout Counter, break configuration is
+       // m_wTimeOutCnt == CFGMA_MAX_TIMEOUT
 
 } tEplCfgMaNode;
 
@@ -213,12 +204,11 @@ tEplKernel PUBLIC EplCfgMaDelInstance();
 //
 // Returns:     tCopKernel              = error code
 //---------------------------------------------------------------------------
-tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int    uiNodeId_p,
-                                    BYTE*             pbConcise_p,
-                                    tfpEplCfgMaCb     fpCfgMaCb_p,
-                                    tEplObdSize       SizeOfConcise_p,
-                                    tEplCfgMaDcfTyp   DcfType_p);
-
+tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int uiNodeId_p,
+                                     BYTE * pbConcise_p,
+                                     tfpEplCfgMaCb fpCfgMaCb_p,
+                                     tEplObdSize SizeOfConcise_p,
+                                     tEplCfgMaDcfTyp DcfType_p);
 
 //---------------------------------------------------------------------------
 // Function:    CfgMaStartConfigurationNode()
@@ -233,9 +223,8 @@ tEplKernel PUBLIC EplCfgMaStartConfig(unsigned int    uiNodeId_p,
 // Returns:     tCopKernel              = error code
 //---------------------------------------------------------------------------
 tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
-                                    tfpEplCfgMaCb      fpCfgMaCb_p,
-                                    tEplCfgMaDcfTyp    DcfType_p);
-
+                                         tfpEplCfgMaCb fpCfgMaCb_p,
+                                         tEplCfgMaDcfTyp DcfType_p);
 
 //---------------------------------------------------------------------------
 // Function:    EplCfgMaStartConfigNodeDcf()
@@ -251,11 +240,11 @@ tEplKernel PUBLIC EplCfgMaStartConfigNode(unsigned int uiNodeId_p,
 //
 // Returns:     tCopKernel              = error code
 //---------------------------------------------------------------------------
-tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int    uiNodeId_p,
-                                    BYTE*             pbConcise_p,
-                                    tfpEplCfgMaCb     fpCfgMaCb_p,
-                                    tEplObdSize       SizeOfConcise_p,
-                                    tEplCfgMaDcfTyp   DcfType_p);
+tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int uiNodeId_p,
+                                            BYTE * pbConcise_p,
+                                            tfpEplCfgMaCb fpCfgMaCb_p,
+                                            tEplObdSize SizeOfConcise_p,
+                                            tEplCfgMaDcfTyp DcfType_p);
 
 //---------------------------------------------------------------------------
 // Function:    EplCfgMaLinkDcf()
@@ -269,10 +258,10 @@ tEplKernel PUBLIC EplCfgMaStartConfigNodeDcf(unsigned int    uiNodeId_p,
 //
 // Returns:     tCopKernel              = error code
 //---------------------------------------------------------------------------
-tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int    uiNodeId_p,
-                                    BYTE*             pbConcise_p,
-                                    tEplObdSize       SizeOfConcise_p,
-                                    tEplCfgMaDcfTyp   DcfType_p);
+tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int uiNodeId_p,
+                                 BYTE * pbConcise_p,
+                                 tEplObdSize SizeOfConcise_p,
+                                 tEplCfgMaDcfTyp DcfType_p);
 
 //---------------------------------------------------------------------------
 // Function:    EplCfgMaCheckDcf()
@@ -285,12 +274,8 @@ tEplKernel PUBLIC EplCfgMaLinkDcf(unsigned int    uiNodeId_p,
 //
 // Returns:     tCopKernel              = error code
 //---------------------------------------------------------------------------
-tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int      uiNodeId_p,
-                                    tEplCfgMaDcfTyp  DcfType_p);
-
-
-
-
+tEplKernel PUBLIC EplCfgMaCheckDcf(unsigned int uiNodeId_p,
+                                  tEplCfgMaDcfTyp DcfType_p);
 
 #endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_CFGMA)) != 0)
 
index 2beb39087a13b66f0d6b4021dcf7525121652312..36f8bb76f7ca418d122086a66a71ea8dd773fa28 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/20 d.k.:   start of the implementation, version 1.00
 
-
 ****************************************************************************/
 
 #ifndef _EPL_DLLU_H_
@@ -82,7 +81,7 @@
 // typedef
 //---------------------------------------------------------------------------
 
-typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
+typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -94,15 +93,16 @@ tEplKernel EplDlluAddInstance(void);
 
 tEplKernel EplDlluDelInstance(void);
 
-tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p, tEplDlluCbAsnd pfnDlluCbAsnd_p, tEplDllAsndFilter Filter_p);
+tEplKernel EplDlluRegAsndService(tEplDllAsndServiceId ServiceId_p,
+                                tEplDlluCbAsnd pfnDlluCbAsnd_p,
+                                tEplDllAsndFilter Filter_p);
 
-tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p);
+tEplKernel EplDlluAsyncSend(tEplFrameInfo * pFrameInfo_p,
+                           tEplDllAsyncReqPriority Priority_p);
 
 // processes asynch frames
 tEplKernel EplDlluProcess(tEplFrameInfo * pFrameInfo_p);
 
 #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLU)) != 0)
 
-#endif  // #ifndef _EPL_DLLU_H_
-
-
+#endif // #ifndef _EPL_DLLU_H_
index b2b85ba586458c223bb6b71d0d69fce15adbc633..b1dcd0609573483485395f596123d4a9b6229b85 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/20 d.k.:   start of the implementation, version 1.00
 
-
 ****************************************************************************/
 
 #ifndef _EPL_DLLUCAL_H_
@@ -83,7 +82,7 @@
 // typedef
 //---------------------------------------------------------------------------
 
-typedef tEplKernel (PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
+typedef tEplKernel(PUBLIC * tEplDlluCbAsnd) (tEplFrameInfo * pFrameInfo_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -94,14 +93,14 @@ tEplKernel EplDlluCalAddInstance(void);
 tEplKernel EplDlluCalDelInstance(void);
 
 tEplKernel EplDlluCalRegAsndService(tEplDllAsndServiceId ServiceId_p,
-                                    tEplDlluCbAsnd pfnDlluCbAsnd_p,
-                                    tEplDllAsndFilter Filter_p);
+                                   tEplDlluCbAsnd pfnDlluCbAsnd_p,
+                                   tEplDllAsndFilter Filter_p);
 
-tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo, tEplDllAsyncReqPriority Priority_p);
+tEplKernel EplDlluCalAsyncSend(tEplFrameInfo * pFrameInfo,
+                              tEplDllAsyncReqPriority Priority_p);
 
 tEplKernel EplDlluCalProcess(tEplEvent * pEvent_p);
 
-
 #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
 
 tEplKernel EplDlluCalAddNode(tEplDllNodeInfo * pNodeInfo_p);
@@ -110,11 +109,9 @@ tEplKernel EplDlluCalDeleteNode(unsigned int uiNodeId_p);
 
 tEplKernel EplDlluCalSoftDeleteNode(unsigned int uiNodeId_p);
 
-tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
+tEplKernel EplDlluCalIssueRequest(tEplDllReqServiceId Service_p,
+                                 unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
 
 #endif
 
-
-#endif  // #ifndef _EPL_DLLUCAL_H_
-
-
+#endif // #ifndef _EPL_DLLUCAL_H_
index 57f8b42c5b72d0cd2c641a76af6bec91153b8ae4..322cffd11874e15ef335c48dfc95afc7e43c7bf8 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/12 d.k.:   start of the implementation, version 1.00
 
-
 ****************************************************************************/
 
 #ifndef _EPL_EVENTU_H_
@@ -74,7 +73,6 @@
 
 #include "../EplEvent.h"
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
@@ -83,7 +81,6 @@
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -91,7 +88,8 @@
 tEplKernel PUBLIC EplEventuInit(tEplProcessEventCb pfnApiProcessEventCb_p);
 
 // add instance
-tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb pfnApiProcessEventCb_p);
+tEplKernel PUBLIC EplEventuAddInstance(tEplProcessEventCb
+                                      pfnApiProcessEventCb_p);
 
 // delete instance
 tEplKernel PUBLIC EplEventuDelInstance(void);
@@ -104,12 +102,7 @@ tEplKernel PUBLIC EplEventuPost(tEplEvent * pEvent_p);
 
 // post errorevents from userspace
 tEplKernel PUBLIC EplEventuPostError(tEplEventSource EventSource_p,
-                                     tEplKernel      EplError_p,
-                                     unsigned int    uiArgSize_p,
-                                     void*           pArg_p);
-
-
-
-#endif  // #ifndef _EPL_EVENTU_H_
-
+                                    tEplKernel EplError_p,
+                                    unsigned int uiArgSize_p, void *pArg_p);
 
+#endif // #ifndef _EPL_EVENTU_H_
index b53afa0ef67aedd8abca83bc1ae26b1326e710e1..e7302106c74123ceaa390e4d8e919b219fb4416e 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/11/15 d.k.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplDll.h"
 #ifndef _EPLIDENTU_H_
 #define _EPLIDENTU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-typedef tEplKernel (PUBLIC * tEplIdentuCbResponse) (
-                                  unsigned int        uiNodeId_p,
-                                  tEplIdentResponse* pIdentResponse_p);
+typedef tEplKernel(PUBLIC * tEplIdentuCbResponse) (unsigned int uiNodeId_p,
+                                                  tEplIdentResponse *
+                                                  pIdentResponse_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -100,14 +97,12 @@ tEplKernel PUBLIC EplIdentuDelInstance(void);
 
 tEplKernel PUBLIC EplIdentuReset(void);
 
-tEplKernel PUBLIC EplIdentuGetIdentResponse(
-                                  unsigned int        uiNodeId_p,
-                                  tEplIdentResponse** ppIdentResponse_p);
-
-tEplKernel PUBLIC EplIdentuRequestIdentResponse(
-                                  unsigned int        uiNodeId_p,
-                                  tEplIdentuCbResponse pfnCbResponse_p);
-
-#endif  // #ifndef _EPLIDENTU_H_
+tEplKernel PUBLIC EplIdentuGetIdentResponse(unsigned int uiNodeId_p,
+                                           tEplIdentResponse **
+                                           ppIdentResponse_p);
 
+tEplKernel PUBLIC EplIdentuRequestIdentResponse(unsigned int uiNodeId_p,
+                                               tEplIdentuCbResponse
+                                               pfnCbResponse_p);
 
+#endif // #ifndef _EPLIDENTU_H_
index 10a8b6bba3873e9e86998ec122c6bcd0f85565d6..78e70d064459dcefa14ee654bc4ae7e8c84a21f6 100644 (file)
@@ -66,7 +66,6 @@
 
   2008/11/17 d.k.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplLed.h"
 #ifndef _EPLLEDU_H_
 #define _EPLLEDU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
-typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) (
-    tEplLedType LedType_p, BOOL fOn_p);
-
+typedef tEplKernel(PUBLIC * tEplLeduStateChangeCallback) (tEplLedType LedType_p,
+                                                         BOOL fOn_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -99,18 +94,16 @@ typedef tEplKernel (PUBLIC * tEplLeduStateChangeCallback) (
 
 tEplKernel PUBLIC EplLeduInit(tEplLeduStateChangeCallback pfnCbStateChange_p);
 
-tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback pfnCbStateChange_p);
+tEplKernel PUBLIC EplLeduAddInstance(tEplLeduStateChangeCallback
+                                    pfnCbStateChange_p);
 
 tEplKernel PUBLIC EplLeduDelInstance(void);
 
-tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p);
-
-tEplKernel PUBLIC EplLeduProcessEvent(
-                                tEplEvent* pEplEvent_p);
+tEplKernel PUBLIC EplLeduCbNmtStateChange(tEplEventNmtStateChange
+                                         NmtStateChange_p);
 
+tEplKernel PUBLIC EplLeduProcessEvent(tEplEvent * pEplEvent_p);
 
 #endif // #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_LEDU)) != 0)
 
-#endif  // #ifndef _EPLLEDU_H_
-
-
+#endif // #ifndef _EPLLEDU_H_
index 93a3289b1cbb365b09af20d1dd1934db5a339d2b..e508055b5b8f05f0568e8251cf336610b42a585e 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/09 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "EplNmtu.h"
 #ifndef _EPLNMTCNU_H_
 #define _EPLNMTCNU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -99,14 +95,14 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuAddInstance(unsigned int uiNodeId_p);
 
 EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuDelInstance(void);
 
-EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest (unsigned int uiNodeId_p,
-                                    tEplNmtCommand  NmtCommand_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,
+                                                      tEplNmtCommand
+                                                      NmtCommand_p);
 
-EPLDLLEXPORT tEplKernel PUBLIC EplNmtCnuRegisterCheckEventCb(
-            tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p);
+EPLDLLEXPORT tEplKernel PUBLIC
+EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback
+                             pfnEplNmtCheckEventCb_p);
 
 #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)
 
-#endif  // #ifndef _EPLNMTCNU_H_
-
-
+#endif // #ifndef _EPLNMTCNU_H_
index a101fde74eef52fcf1f59595b9e51eb5686074d9..c54efeba303f662a08c28d42c4e51e6c5d46dfa5 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/09 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "EplNmtu.h"
 #ifndef _EPLNMTMNU_H_
 #define _EPLNMTMNU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-typedef tEplKernel (PUBLIC * tEplNmtMnuCbNodeEvent) (
-    unsigned int uiNodeId_p,
-    tEplNmtNodeEvent NodeEvent_p,
-    tEplNmtState NmtState_p,
-    WORD wErrorCode_p,
-    BOOL fMandatory_p);
-
-
-typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) (
-    tEplNmtBootEvent BootEvent_p,
-    tEplNmtState NmtState_p,
-    WORD wErrorCode_p);
+typedef tEplKernel(PUBLIC * tEplNmtMnuCbNodeEvent) (unsigned int uiNodeId_p,
+                                                   tEplNmtNodeEvent
+                                                   NodeEvent_p,
+                                                   tEplNmtState NmtState_p,
+                                                   WORD wErrorCode_p,
+                                                   BOOL fMandatory_p);
 
+typedef tEplKernel(PUBLIC *
+                  tEplNmtMnuCbBootEvent) (tEplNmtBootEvent BootEvent_p,
+                                          tEplNmtState NmtState_p,
+                                          WORD wErrorCode_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -105,32 +100,32 @@ typedef tEplKernel (PUBLIC * tEplNmtMnuCbBootEvent) (
 #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
 
 tEplKernel EplNmtMnuInit(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
-                         tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
+                        tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
 
 tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
-                                tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
+                               tEplNmtMnuCbBootEvent pfnCbBootEvent_p);
 
 tEplKernel EplNmtMnuDelInstance(void);
 
-EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(
-            tEplEvent* pEvent_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplNmtMnuProcessEvent(tEplEvent * pEvent_p);
 
 tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,
-                                   tEplNmtCommand  NmtCommand_p);
+                                  tEplNmtCommand NmtCommand_p);
 
 tEplKernel EplNmtMnuTriggerStateChange(unsigned int uiNodeId_p,
-                                       tEplNmtNodeCommand  NodeCommand_p);
+                                      tEplNmtNodeCommand NodeCommand_p);
 
-tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange NmtStateChange_p);
+tEplKernel PUBLIC EplNmtMnuCbNmtStateChange(tEplEventNmtStateChange
+                                           NmtStateChange_p);
 
 tEplKernel PUBLIC EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p);
 
-tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int* puiMandatorySlaveCount_p,
-                                             unsigned int* puiSignalSlaveCount_p,
-                                             WORD* pwFlags_p);
+tEplKernel PUBLIC EplNmtMnuGetDiagnosticInfo(unsigned int
+                                            *puiMandatorySlaveCount_p,
+                                            unsigned int
+                                            *puiSignalSlaveCount_p,
+                                            WORD * pwFlags_p);
 
 #endif
 
-#endif  // #ifndef _EPLNMTMNU_H_
-
-
+#endif // #ifndef _EPLNMTMNU_H_
index 0ed7fffec0ed783224c6bc62d5aa3a0301650222..5a56c58306035ec4327ba999bad4ccdf803790d5 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/09 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplNmt.h"
 #ifndef _EPLNMTU_H_
 #define _EPLNMTU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 // nmt commands
-typedef enum
-{
-    // requestable ASnd ServiceIds    0x01..0x1F
-    kEplNmtCmdIdentResponse             = 0x01,
-    kEplNmtCmdStatusResponse            = 0x02,
-    // plain NMT state commands       0x20..0x3F
-    kEplNmtCmdStartNode                 = 0x21,
-    kEplNmtCmdStopNode                  = 0x22,
-    kEplNmtCmdEnterPreOperational2      = 0x23,
-    kEplNmtCmdEnableReadyToOperate      = 0x24,
-    kEplNmtCmdResetNode                 = 0x28,
-    kEplNmtCmdResetCommunication        = 0x29,
-    kEplNmtCmdResetConfiguration        = 0x2A,
-    kEplNmtCmdSwReset                   = 0x2B,
-    // extended NMT state commands    0x40..0x5F
-    kEplNmtCmdStartNodeEx               = 0x41,
-    kEplNmtCmdStopNodeEx                = 0x42,
-    kEplNmtCmdEnterPreOperational2Ex    = 0x43,
-    kEplNmtCmdEnableReadyToOperateEx    = 0x44,
-    kEplNmtCmdResetNodeEx               = 0x48,
-    kEplNmtCmdResetCommunicationEx      = 0x49,
-    kEplNmtCmdResetConfigurationEx      = 0x4A,
-    kEplNmtCmdSwResetEx                 = 0x4B,
-    // NMT managing commands          0x60..0x7F
-    kEplNmtCmdNetHostNameSet            = 0x62,
-    kEplNmtCmdFlushArpEntry             = 0x63,
-    // NMT info services              0x80..0xBF
-    kEplNmtCmdPublishConfiguredCN       = 0x80,
-    kEplNmtCmdPublishActiveCN           = 0x90,
-    kEplNmtCmdPublishPreOperational1    = 0x91,
-    kEplNmtCmdPublishPreOperational2    = 0x92,
-    kEplNmtCmdPublishReadyToOperate     = 0x93,
-    kEplNmtCmdPublishOperational        = 0x94,
-    kEplNmtCmdPublishStopped            = 0x95,
-    kEplNmtCmdPublishEmergencyNew       = 0xA0,
-    kEplNmtCmdPublishTime               = 0xB0,
-
-    kEplNmtCmdInvalidService            = 0xFF
-
+typedef enum {
+       // requestable ASnd ServiceIds    0x01..0x1F
+       kEplNmtCmdIdentResponse = 0x01,
+       kEplNmtCmdStatusResponse = 0x02,
+       // plain NMT state commands       0x20..0x3F
+       kEplNmtCmdStartNode = 0x21,
+       kEplNmtCmdStopNode = 0x22,
+       kEplNmtCmdEnterPreOperational2 = 0x23,
+       kEplNmtCmdEnableReadyToOperate = 0x24,
+       kEplNmtCmdResetNode = 0x28,
+       kEplNmtCmdResetCommunication = 0x29,
+       kEplNmtCmdResetConfiguration = 0x2A,
+       kEplNmtCmdSwReset = 0x2B,
+       // extended NMT state commands    0x40..0x5F
+       kEplNmtCmdStartNodeEx = 0x41,
+       kEplNmtCmdStopNodeEx = 0x42,
+       kEplNmtCmdEnterPreOperational2Ex = 0x43,
+       kEplNmtCmdEnableReadyToOperateEx = 0x44,
+       kEplNmtCmdResetNodeEx = 0x48,
+       kEplNmtCmdResetCommunicationEx = 0x49,
+       kEplNmtCmdResetConfigurationEx = 0x4A,
+       kEplNmtCmdSwResetEx = 0x4B,
+       // NMT managing commands          0x60..0x7F
+       kEplNmtCmdNetHostNameSet = 0x62,
+       kEplNmtCmdFlushArpEntry = 0x63,
+       // NMT info services              0x80..0xBF
+       kEplNmtCmdPublishConfiguredCN = 0x80,
+       kEplNmtCmdPublishActiveCN = 0x90,
+       kEplNmtCmdPublishPreOperational1 = 0x91,
+       kEplNmtCmdPublishPreOperational2 = 0x92,
+       kEplNmtCmdPublishReadyToOperate = 0x93,
+       kEplNmtCmdPublishOperational = 0x94,
+       kEplNmtCmdPublishStopped = 0x95,
+       kEplNmtCmdPublishEmergencyNew = 0xA0,
+       kEplNmtCmdPublishTime = 0xB0,
+
+       kEplNmtCmdInvalidService = 0xFF
 } tEplNmtCommand;
 
-typedef tEplKernel (PUBLIC * tEplNmtuStateChangeCallback) (
-    tEplEventNmtStateChange  NmtStateChange_p);
+typedef tEplKernel(PUBLIC *
+                  tEplNmtuStateChangeCallback) (tEplEventNmtStateChange
+                                                NmtStateChange_p);
 
-typedef tEplKernel (PUBLIC * tEplNmtuCheckEventCallback) (
-    tEplNmtEvent  NmtEvent_p);
+typedef tEplKernel(PUBLIC *
+                  tEplNmtuCheckEventCallback) (tEplNmtEvent NmtEvent_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -148,14 +144,12 @@ EPLDLLEXPORT tEplKernel PUBLIC EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p);
 
 EPLDLLEXPORT tEplNmtState PUBLIC EplNmtuGetNmtState(void);
 
-EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent(
-                                tEplEvent* pEplEvent_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplNmtuProcessEvent(tEplEvent * pEplEvent_p);
 
-EPLDLLEXPORT tEplKernel PUBLIC EplNmtuRegisterStateChangeCb(
-                tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p);
+EPLDLLEXPORT tEplKernel PUBLIC
+EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback
+                            pfnEplNmtStateChangeCb_p);
 
 #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0)
 
-#endif  // #ifndef _EPLNMTU_H_
-
-
+#endif // #ifndef _EPLNMTU_H_
index 6d964bbe0bdaa13075a19ccc4dc5f0547b182991..c881582702bbe98dcc536baf3c377a2460c970ad 100644 (file)
@@ -67,7 +67,6 @@
 
   2006/06/16 -k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "EplNmtu.h"
 #ifndef _EPLNMTUCAL_H_
 #define _EPLNMTUCAL_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
 EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkCalGetNmtState(void);
 
-#endif  // #ifndef _EPLNMTUCAL_H_
-
-
+#endif // #ifndef _EPLNMTUCAL_H_
index 14dd879cc56a38533c968bee405e1f362d987601..bc1e1730301725d1ceb3dc9b3fcd32c7107b68e0 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/19 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplObd.h"
 #ifndef _EPLOBDU_H_
 #define _EPLOBDU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
 #error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE"
 #endif
 
-EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry (unsigned int  uiIndex_p,
-                                unsigned int  uiSubIndex_p,
-                                void * pSrcData_p,
-                                tEplObdSize   Size_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntry(unsigned int uiIndex_p,
+                                                unsigned int uiSubIndex_p,
+                                                void *pSrcData_p,
+                                                tEplObdSize Size_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry (unsigned int        uiIndex_p,
-                                unsigned int        uiSubIndex_p,
-                                void *       pDstData_p,
-                                tEplObdSize *pSize_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntry(unsigned int uiIndex_p,
+                                               unsigned int uiSubIndex_p,
+                                               void *pDstData_p,
+                                               tEplObdSize * pSize_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart (tEplObdPart ObdPart_p,
-                                tEplObdDir Direction_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduAccessOdPart(tEplObdPart ObdPart_p,
+                                                  tEplObdDir Direction_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar (tEplVarParam MEM* pVarParam_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduDefineVar(tEplVarParam MEM * pVarParam_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT void* PUBLIC EplObduGetObjectDataPtr (unsigned int uiIndex_p,
-                                        unsigned int uiSubIndex_p);
+EPLDLLEXPORT void *PUBLIC EplObduGetObjectDataPtr(unsigned int uiIndex_p,
+                                                 unsigned int uiSubIndex_p);
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd (
-                                        tEplObdEntryPtr pUserOd_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT void PUBLIC EplObduInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p,
-                                        BYTE bType_p,
-                                        tEplObdSize ObdSize_p);
+EPLDLLEXPORT void PUBLIC EplObduInitVarEntry(tEplObdVarEntry MEM * pVarEntry_p,
+                                            BYTE bType_p,
+                                            tEplObdSize ObdSize_p);
 
 // ---------------------------------------------------------------------
 EPLDLLEXPORT tEplObdSize PUBLIC EplObduGetDataSize(unsigned int uiIndex_p,
-                                        unsigned int uiSubIndex_p);
+                                                  unsigned int uiSubIndex_p);
 
 // ---------------------------------------------------------------------
 EPLDLLEXPORT unsigned int PUBLIC EplObduGetNodeId(void);
 
 // ---------------------------------------------------------------------
 EPLDLLEXPORT tEplKernel PUBLIC EplObduSetNodeId(unsigned int uiNodeId_p,
-                                         tEplObdNodeIdType NodeIdType_p);
+                                               tEplObdNodeIdType NodeIdType_p);
 // ---------------------------------------------------------------------
 EPLDLLEXPORT tEplKernel PUBLIC EplObduGetAccessType(unsigned int uiIndex_p,
-                                        unsigned int   uiSubIndex_p,
-                                        tEplObdAccess* pAccessTyp_p);
+                                                   unsigned int uiSubIndex_p,
+                                                   tEplObdAccess *
+                                                   pAccessTyp_p);
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe (unsigned int        uiIndex_p,
-                                        unsigned int        uiSubIndex_p,
-                                        void *              pDstData_p,
-                                        tEplObdSize *       pSize_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduReadEntryToLe(unsigned int uiIndex_p,
+                                                   unsigned int uiSubIndex_p,
+                                                   void *pDstData_p,
+                                                   tEplObdSize * pSize_p);
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe (unsigned int  uiIndex_p,
-                                        unsigned int  uiSubIndex_p,
-                                        void *        pSrcData_p,
-                                        tEplObdSize   Size_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduWriteEntryFromLe(unsigned int uiIndex_p,
+                                                      unsigned int
+                                                      uiSubIndex_p,
+                                                      void *pSrcData_p,
+                                                      tEplObdSize Size_p);
 
 // ---------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
-                                        unsigned int            uiIndex_p,
-                                        unsigned int            uiSubindex_p,
-                                        tEplObdVarEntry MEM**   ppVarEntry_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
+                                                    unsigned int uiIndex_p,
+                                                    unsigned int uiSubindex_p,
+                                                    tEplObdVarEntry MEM **
+                                                    ppVarEntry_p);
 
 #elif EPL_OBD_USE_KERNEL != FALSE
 #include "../kernel/EplObdk.h"
@@ -191,6 +189,4 @@ EPLDLLEXPORT tEplKernel PUBLIC EplObduSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
 
 #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDU)) != 0)
 
-#endif  // #ifndef _EPLOBDU_H_
-
-
+#endif // #ifndef _EPLOBDU_H_
index 26d23c507cc854affb2def4711ae4038aa4a30a0..498e0112fac348978b704cf3783a710c100aceb7 100644 (file)
@@ -67,7 +67,6 @@
 
   2006/06/19 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplObd.h"
 #ifndef _EPLOBDUCAL_H_
 #define _EPLOBDUCAL_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry (
-                                                unsigned int  uiIndex_p,
-                                                unsigned int  uiSubIndex_p,
-                                                void * pSrcData_p,
-                                                tEplObdSize   Size_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntry(unsigned int uiIndex_p,
+                                                   unsigned int uiSubIndex_p,
+                                                   void *pSrcData_p,
+                                                   tEplObdSize Size_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry (
-                                            unsigned int        uiIndex_p,
-                                            unsigned int        uiSubIndex_p,
-                                            void *       pDstData_p,
-                                            tEplObdSize *pSize_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntry(unsigned int uiIndex_p,
+                                                  unsigned int uiSubIndex_p,
+                                                  void *pDstData_p,
+                                                  tEplObdSize * pSize_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart (
-                                                    tEplObdPart ObdPart_p,
-                                                    tEplObdDir Direction_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalAccessOdPart(tEplObdPart ObdPart_p,
+                                                     tEplObdDir Direction_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar (tEplVarParam MEM* pVarParam_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalDefineVar(tEplVarParam MEM *
+                                                  pVarParam_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT void* PUBLIC EplObduCalGetObjectDataPtr ( unsigned int uiIndex_p,
-                                            unsigned int uiSubIndex_p);
+EPLDLLEXPORT void *PUBLIC EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,
+                                                    unsigned int uiSubIndex_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd (tEplObdEntryPtr pUserOd_p);
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalRegisterUserOd(tEplObdEntryPtr
+                                                       pUserOd_p);
 //---------------------------------------------------------------------------
-EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry (tEplObdVarEntry MEM* pVarEntry_p,
-                                        BYTE bType_p, tEplObdSize ObdSize_p);
+EPLDLLEXPORT void PUBLIC EplObduCalInitVarEntry(tEplObdVarEntry MEM *
+                                               pVarEntry_p, BYTE bType_p,
+                                               tEplObdSize ObdSize_p);
 //---------------------------------------------------------------------------
 EPLDLLEXPORT tEplObdSize PUBLIC EplObduCalGetDataSize(unsigned int uiIndex_p,
-                                        unsigned int uiSubIndex_p);
+                                                     unsigned int
+                                                     uiSubIndex_p);
 //---------------------------------------------------------------------------
 EPLDLLEXPORT unsigned int PUBLIC EplObduCalGetNodeId(void);
 //---------------------------------------------------------------------------
 EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSetNodeId(unsigned int uiNodeId_p,
-                                         tEplObdNodeIdType NodeIdType_p);
+                                                  tEplObdNodeIdType
+                                                  NodeIdType_p);
 //---------------------------------------------------------------------------
 EPLDLLEXPORT tEplKernel PUBLIC EplObduCalGetAccessType(unsigned int uiIndex_p,
-                                        unsigned int   uiSubIndex_p,
-                                        tEplObdAccess* pAccessTyp_p);
-//---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe (unsigned int        uiIndex_p,
-                                        unsigned int        uiSubIndex_p,
-                                        void *              pDstData_p,
-                                        tEplObdSize *       pSize_p);
-//---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe (unsigned int  uiIndex_p,
-                                        unsigned int  uiSubIndex_p,
-                                        void *        pSrcData_p,
-                                        tEplObdSize   Size_p);
-//---------------------------------------------------------------------------
-EPLDLLEXPORT tEplKernel PUBLIC EplObduCalSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
-                                        unsigned int            uiIndex_p,
-                                        unsigned int            uiSubindex_p,
-                                        tEplObdVarEntry MEM**   ppVarEntry_p);
-
-
-#endif  // #ifndef _EPLOBDUCAL_H_
-
-
+                                                      unsigned int
+                                                      uiSubIndex_p,
+                                                      tEplObdAccess *
+                                                      pAccessTyp_p);
+//---------------------------------------------------------------------------
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalReadEntryToLe(unsigned int uiIndex_p,
+                                                      unsigned int
+                                                      uiSubIndex_p,
+                                                      void *pDstData_p,
+                                                      tEplObdSize * pSize_p);
+//---------------------------------------------------------------------------
+EPLDLLEXPORT tEplKernel PUBLIC EplObduCalWriteEntryFromLe(unsigned int
+                                                         uiIndex_p,
+                                                         unsigned int
+                                                         uiSubIndex_p,
+                                                         void *pSrcData_p,
+                                                         tEplObdSize Size_p);
+//---------------------------------------------------------------------------
+EPLDLLEXPORT tEplKernel PUBLIC
+EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
+                        unsigned int uiSubindex_p,
+                        tEplObdVarEntry MEM ** ppVarEntry_p);
+
+#endif // #ifndef _EPLOBDUCAL_H_
index 293f0f7669ddd4796c46903cff920fbb720fc92d..11de4862e8bbf5b48bda6043e43191f9927cf0ed 100644 (file)
@@ -65,7 +65,6 @@
 
   2006/05/22 d.k.:   start of the implementation, version 1.00
 
-
 ****************************************************************************/
 
 #ifndef _EPL_PDOU_H_
 
 #include "../EplPdo.h"
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -93,7 +89,7 @@ tEplKernel EplPdouAddInstance(void);
 tEplKernel EplPdouDelInstance(void);
 
 #if (((EPL_MODULE_INTEGRATION) & (EPL_MODULE_PDOU)) != 0)
-tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM* pParam_p);
+tEplKernel PUBLIC EplPdouCbObdAccess(tEplObdCbParam MEM * pParam_p);
 #else
 #define EplPdouCbObdAccess             NULL
 #endif
@@ -109,6 +105,4 @@ tEplKernel EplPdouGetMapping(
     tEplPdoMapping * pMapping_p, BYTE * pbMaxEntries_p);
 */
 
-#endif  // #ifndef _EPL_PDOU_H_
-
-
+#endif // #ifndef _EPL_PDOU_H_
index bc2650e2f0427f5454ee327566bf4537dc6af321..e34959f42792cb41d15150bfd79892ba289a4175 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/07/07 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplSdo.h"
 #ifndef _EPLSDOASNDU_H_
 #define _EPLSDOASNDU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -97,17 +93,15 @@ tEplKernel PUBLIC EplSdoAsnduAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
 
 tEplKernel PUBLIC EplSdoAsnduDelInstance(void);
 
-tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl pSdoConHandle_p,
-                               unsigned int    uiTargetNodeId_p);
+tEplKernel PUBLIC EplSdoAsnduInitCon(tEplSdoConHdl * pSdoConHandle_p,
+                                    unsigned int uiTargetNodeId_p);
 
-tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl       SdoConHandle_p,
-                                    tEplFrame *          pSrcData_p,
-                                    DWORD                dwDataSize_p);
+tEplKernel PUBLIC EplSdoAsnduSendData(tEplSdoConHdl SdoConHandle_p,
+                                     tEplFrame * pSrcData_p,
+                                     DWORD dwDataSize_p);
 
 tEplKernel PUBLIC EplSdoAsnduDelCon(tEplSdoConHdl SdoConHandle_p);
 
 #endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_ASND)) != 0)
 
-#endif  // #ifndef _EPLSDOASNDU_H_
-
-
+#endif // #ifndef _EPLSDOASNDU_H_
index a9017ed65c6be09fd49795669f3318da2842d323..4658b5f8c538eaf1d96fb9fb09026662070fa49c 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/26 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplSdo.h"
 #ifndef _EPLSDOASYSEQU_H_
 #define _EPLSDOASYSEQU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
 tEplKernel PUBLIC EplSdoAsySeqInit(tEplSdoComReceiveCb fpSdoComCb_p,
-                                   tEplSdoComConCb fpSdoComConCb_p);
+                                  tEplSdoComConCb fpSdoComConCb_p);
 
-tEplKernel PUBLIC EplSdoAsySeqAddInstance (tEplSdoComReceiveCb fpSdoComCb_p,
-                                   tEplSdoComConCb fpSdoComConCb_p);
+tEplKernel PUBLIC EplSdoAsySeqAddInstance(tEplSdoComReceiveCb fpSdoComCb_p,
+                                         tEplSdoComConCb fpSdoComConCb_p);
 
 tEplKernel PUBLIC EplSdoAsySeqDelInstance(void);
 
-tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl* pSdoSeqConHdl_p,
-                                unsigned int uiNodeId_p,
-                                tEplSdoType   SdoType);
+tEplKernel PUBLIC EplSdoAsySeqInitCon(tEplSdoSeqConHdl * pSdoSeqConHdl_p,
+                                     unsigned int uiNodeId_p,
+                                     tEplSdoType SdoType);
 
 tEplKernel PUBLIC EplSdoAsySeqSendData(tEplSdoSeqConHdl SdoSeqConHdl_p,
-                                 unsigned int    uiDataSize_p,
-                                 tEplFrame*      pData_p );
+                                      unsigned int uiDataSize_p,
+                                      tEplFrame * pData_p);
 
-tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent* pEvent_p);
+tEplKernel PUBLIC EplSdoAsySeqProcessEvent(tEplEvent * pEvent_p);
 
 tEplKernel PUBLIC EplSdoAsySeqDelCon(tEplSdoSeqConHdl SdoSeqConHdl_p);
 
-
-
-
-
-
-
-#endif  // #ifndef _EPLSDOASYSEQU_H_
-
-
+#endif // #ifndef _EPLSDOASYSEQU_H_
index 16c8d7c05da0ff7f84e348b6b515d7eaf8455fb0..3e454c7a3559f0912bcd7ea955a7171ca8d333b1 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/06/26 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplSdo.h"
 #ifndef _EPLSDOCOMU_H_
 #define _EPLSDOCOMU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -100,19 +96,20 @@ tEplKernel PUBLIC EplSdoComDelInstance(void);
 
 #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDOC)) != 0)
 
-tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl pSdoComConHdl_p,
-                                      unsigned int      uiTargetNodeId_p,
-                                      tEplSdoType        ProtType_p);
+tEplKernel PUBLIC EplSdoComDefineCon(tEplSdoComConHdl * pSdoComConHdl_p,
+                                    unsigned int uiTargetNodeId_p,
+                                    tEplSdoType ProtType_p);
 
-tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex* pSdoComTransParam_p);
+tEplKernel PUBLIC EplSdoComInitTransferByIndex(tEplSdoComTransParamByIndex *
+                                              pSdoComTransParam_p);
 
-tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl  SdoComConHdl_p);
+tEplKernel PUBLIC EplSdoComUndefineCon(tEplSdoComConHdl SdoComConHdl_p);
 
 tEplKernel PUBLIC EplSdoComGetState(tEplSdoComConHdl SdoComConHdl_p,
-                                    tEplSdoComFinished* pSdoComFinished_p);
+                                   tEplSdoComFinished * pSdoComFinished_p);
 
 tEplKernel PUBLIC EplSdoComSdoAbort(tEplSdoComConHdl SdoComConHdl_p,
-                              DWORD           dwAbortCode_p);
+                                   DWORD dwAbortCode_p);
 
 #endif
 
@@ -126,10 +123,4 @@ tEplKernel PUBLIC EplSdoComInitTransferFile(tEplSdoComTransParamFile* pSdoComTra
 
 */
 
-
-
-
-
-#endif  // #ifndef _EPLSDOCOMU_H_
-
-
+#endif // #ifndef _EPLSDOCOMU_H_
index ecd6814c4ac8847c88c2bae08145842bba776bfe..2d77b6fff199a9e6a14607070d7cd758a019bdef 100644 (file)
 
   2006/06/26 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
-
 #include "../EplSdo.h"
 
 #ifndef _EPLSDOUDPU_H_
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -96,19 +92,18 @@ tEplKernel PUBLIC EplSdoUdpuAddInstance(tEplSequLayerReceiveCb fpReceiveCb_p);
 
 tEplKernel PUBLIC EplSdoUdpuDelInstance(void);
 
-tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p, unsigned int uiPort_p);
+tEplKernel PUBLIC EplSdoUdpuConfig(unsigned long ulIpAddr_p,
+                                  unsigned int uiPort_p);
 
-tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl pSdoConHandle_p,
-                               unsigned int    uiTargetNodeId_p);
+tEplKernel PUBLIC EplSdoUdpuInitCon(tEplSdoConHdl * pSdoConHandle_p,
+                                   unsigned int uiTargetNodeId_p);
 
-tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl       SdoConHandle_p,
-                                    tEplFrame *          pSrcData_p,
-                                    DWORD                dwDataSize_p);
+tEplKernel PUBLIC EplSdoUdpuSendData(tEplSdoConHdl SdoConHandle_p,
+                                    tEplFrame * pSrcData_p,
+                                    DWORD dwDataSize_p);
 
 tEplKernel PUBLIC EplSdoUdpuDelCon(tEplSdoConHdl SdoConHandle_p);
 
 #endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_SDO_UDP)) != 0)
 
-#endif  // #ifndef _EPLSDOUDPU_H_
-
-
+#endif // #ifndef _EPLSDOUDPU_H_
index 22547eb63a2cef25a814fff4440c91c40d78a036..d211935f0e834d6fde09acd7af774e3959a916ad 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/11/15 d.k.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplDll.h"
 #ifndef _EPLSTATUSU_H_
 #define _EPLSTATUSU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-typedef tEplKernel (PUBLIC * tEplStatusuCbResponse) (
-                                  unsigned int        uiNodeId_p,
-                                  tEplStatusResponse* pStatusResponse_p);
+typedef tEplKernel(PUBLIC * tEplStatusuCbResponse) (unsigned int uiNodeId_p,
+                                                   tEplStatusResponse *
+                                                   pStatusResponse_p);
 
 //---------------------------------------------------------------------------
 // function prototypes
@@ -100,10 +97,8 @@ tEplKernel PUBLIC EplStatusuDelInstance(void);
 
 tEplKernel PUBLIC EplStatusuReset(void);
 
-tEplKernel PUBLIC EplStatusuRequestStatusResponse(
-                                  unsigned int        uiNodeId_p,
-                                  tEplStatusuCbResponse pfnCbResponse_p);
-
-#endif  // #ifndef _EPLSTATUSU_H_
-
+tEplKernel PUBLIC EplStatusuRequestStatusResponse(unsigned int uiNodeId_p,
+                                                 tEplStatusuCbResponse
+                                                 pfnCbResponse_p);
 
+#endif // #ifndef _EPLSTATUSU_H_
index d5f1eafaf13075772742781b2543d748b30dda58..404495501b8df69b90cbe8978f0ce03e66ef6d72 100644 (file)
@@ -66,7 +66,6 @@
 
   2006/07/06 k.t.:   start of the implementation
 
-
 ****************************************************************************/
 
 #include "../EplTimer.h"
 #ifndef _EPLTIMERU_H_
 #define _EPLTIMERU_H_
 
-
 //---------------------------------------------------------------------------
 // const defines
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // typedef
 //---------------------------------------------------------------------------
 
-
 //---------------------------------------------------------------------------
 // function prototypes
 //---------------------------------------------------------------------------
@@ -96,18 +92,16 @@ tEplKernel PUBLIC EplTimeruAddInstance(void);
 
 tEplKernel PUBLIC EplTimeruDelInstance(void);
 
-tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl*     pTimerHdl_p,
-                                        unsigned long ulTime_p,
-                                        tEplTimerArg  Argument_p);
+tEplKernel PUBLIC EplTimeruSetTimerMs(tEplTimerHdl * pTimerHdl_p,
+                                     unsigned long ulTime_p,
+                                     tEplTimerArg Argument_p);
 
-tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl*     pTimerHdl_p,
-                                        unsigned long     ulTime_p,
-                                        tEplTimerArg      Argument_p);
+tEplKernel PUBLIC EplTimeruModifyTimerMs(tEplTimerHdl * pTimerHdl_p,
+                                        unsigned long ulTime_p,
+                                        tEplTimerArg Argument_p);
 
-tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl*     pTimerHdl_p);
+tEplKernel PUBLIC EplTimeruDeleteTimer(tEplTimerHdl * pTimerHdl_p);
 
 BOOL PUBLIC EplTimeruIsTimerActive(tEplTimerHdl TimerHdl_p);
 
-#endif  // #ifndef _EPLTIMERU_H_
-
-
+#endif // #ifndef _EPLTIMERU_H_