Go to the source code of this file.
Functions | |
static void | swap16 (uint16 *data) |
static void | swap32 (uint32 *data) |
static enum endianness | getSystemEndianness (void) |
static void | resetUnstack (uint16 bitStackDescriptor) |
int | new_bitStack (void) |
void | clearStack (uint16 bitStackDescriptor) |
sint32 | stackData (uint16 bitStackDescriptor, unsigned char *data, uint32 dataLength) |
uint32 | unstackData (uint16 bitStackDescriptor, uint8 nBits) |
void | showStack (uint16 bitStackDescriptor) |
uint32 | getStackSize (uint16 bitStackDescriptor) |
void | setOutputEndianness (uint16 bitStackDescriptor, enum endianness endianType) |
byte_ptr | getDataBuffer (uint16 bitStackDescriptor) |
sint32 | setDataBuffer (uint16 bitStackDescriptor, byte_ptr data, uint16 dataLength) |
Variables | |
enum endianness | endianType |
bitStack_PrivatesPtr | bitStack_Objs [_MAX_BITSTACK_INSTANCES_] |
uint16 | nBitStackObjs = 0 |
void clearStack | ( | uint16 | bitStackDescriptor | ) |
Definition at line 66 of file bitStack.c.
References _MAX_DATA_STACK_SIZE_, c_bitStack_Privates::auxUsedBits, c_bitStack_Privates::dataStack, resetUnstack(), and c_bitStack_Privates::stackSize.
Referenced by deserialize_Mensaje1(), deserialize_Mensaje2(), deserialize_Mensaje3(), new_bitStack(), serialize_Mensaje1(), serialize_Mensaje2(), serialize_Mensaje3(), set_Endianness_Mensaje1(), set_Endianness_Mensaje2(), and set_Endianness_Mensaje3().
Definition at line 260 of file bitStack.c.
References c_bitStack_Privates::dataStack.
Referenced by serialize_Mensaje1(), serialize_Mensaje2(), and serialize_Mensaje3().
Definition at line 245 of file bitStack.c.
References c_bitStack_Privates::auxUsedBits, and c_bitStack_Privates::stackSize.
Referenced by get_MsgSize_Mensaje1(), get_MsgSize_Mensaje2(), get_MsgSize_Mensaje3(), showStack(), and unstackData().
|
static |
Definition at line 84 of file bitStack.c.
References _BIG_ENDIAN_, and _LITTLE_ENDIAN_.
Referenced by new_bitStack().
int new_bitStack | ( | void | ) |
Definition at line 30 of file bitStack.c.
References _BIG_ENDIAN_, _MAX_BITSTACK_INSTANCES_, clearStack(), endianType, getSystemEndianness(), nBitStackObjs, nObjs, c_bitStack_Privates::outputEndianness, and c_bitStack_Privates::unstackIndex.
Referenced by initialize_Mensaje1(), initialize_Mensaje2(), and initialize_Mensaje3().
|
static |
Definition at line 80 of file bitStack.c.
References _TRUE_, and c_bitStack_Privates::firstUnstak.
Referenced by clearStack().
Definition at line 264 of file bitStack.c.
References _MAX_DATA_STACK_SIZE_, c_bitStack_Privates::dataStack, and c_bitStack_Privates::stackSize.
Referenced by deserialize_Mensaje1(), deserialize_Mensaje2(), and deserialize_Mensaje3().
void setOutputEndianness | ( | uint16 | bitStackDescriptor, |
enum endianness | endianType | ||
) |
Definition at line 256 of file bitStack.c.
References endianType, and c_bitStack_Privates::outputEndianness.
Referenced by initialize_Mensaje1(), initialize_Mensaje2(), initialize_Mensaje3(), set_Endianness_Mensaje1(), set_Endianness_Mensaje2(), and set_Endianness_Mensaje3().
void showStack | ( | uint16 | bitStackDescriptor | ) |
Definition at line 236 of file bitStack.c.
References c_bitStack_Privates::dataStack, and getStackSize().
Definition at line 95 of file bitStack.c.
References _BIG_ENDIAN_, c_bitStack_Privates::auxUsedBits, c_bitStack_Privates::dataStack, endianType, c_bitStack_Privates::outputEndianness, c_bitStack_Privates::stackSize, swap16(), and swap32().
Referenced by serialize_Mensaje1(), serialize_Mensaje2(), and serialize_Mensaje3().
|
static |
Definition at line 274 of file bitStack.c.
Referenced by stackData(), and unstackData().
|
static |
Definition at line 280 of file bitStack.c.
Referenced by stackData(), and unstackData().
Definition at line 170 of file bitStack.c.
References _BIG_ENDIAN_, _DBGMSG_, _FALSE_, c_bitStack_Privates::dataStack, c_bitStack_Privates::firstUnstak, getStackSize(), c_bitStack_Privates::outputEndianness, swap16(), swap32(), c_bitStack_Privates::unstackedBit, c_bitStack_Privates::unstackedByte, and c_bitStack_Privates::unstackIndex.
Referenced by deserialize_Mensaje1(), deserialize_Mensaje2(), and deserialize_Mensaje3().
bitStack_PrivatesPtr bitStack_Objs[_MAX_BITSTACK_INSTANCES_] |
Definition at line 27 of file bitStack.c.
enum endianness endianType |
Definition at line 26 of file bitStack.c.
Referenced by new_bitStack(), setOutputEndianness(), and stackData().
uint16 nBitStackObjs = 0 |
Definition at line 28 of file bitStack.c.
Referenced by new_bitStack().