CORDET Framework - C2 Implementation
CrPsPktUtil.h
Go to the documentation of this file.
1 
21 #include <CrPsUserConstants.h>
22 
23 #ifndef CRPSPKTUTIL_H_
24 #define CRPSPKTUTIL_H_
25 
32 uint32_t getPcktInt(void* p, uint32_t pos);
33 
40 uint16_t getPcktShort(void* p, uint32_t pos);
41 
48 uint8_t getPcktChar(void* p, uint32_t pos);
49 
56 void setPcktInt(void* p, uint32_t pos, uint32_t t);
57 
64 void setPcktShort(void* p, uint32_t pos, uint16_t t);
65 
72 void setPcktChar(void* p, uint32_t pos, uint8_t t);
73 
74 
75 /*----------------------------------------------------------------------------*/
76 #endif /* CRPSPKTUTIL_H */
void setPcktChar(void *p, uint32_t pos, uint8_t t)
Generic Setter for Character Values from a Packet.
Definition: CrPsPktUtil.c:92
Header file to define all user-configurable constants and types for the IASW Application.
void setPcktInt(void *p, uint32_t pos, uint32_t t)
Generic Setter for Int Values from a Packet.
Definition: CrPsPktUtil.c:68
uint8_t getPcktChar(void *p, uint32_t pos)
Generic Getter for Character Values from a Packet.
Definition: CrPsPktUtil.c:55
void setPcktShort(void *p, uint32_t pos, uint16_t t)
Generic Setter for Short Values from a Packet.
Definition: CrPsPktUtil.c:80
uint16_t getPcktShort(void *p, uint32_t pos)
Generic Getter for Short Values from a Packet.
Definition: CrPsPktUtil.c:42
uint32_t getPcktInt(void *p, uint32_t pos)
Generic Getter for Int Values from a Packet.
Definition: CrPsPktUtil.c:29
P&P Software GmbH, Copyright 2012-2013, All Rights Reserved