Go to the source code of this file.
Data Structures | |
struct | c_bitStack_Privates |
Macros | |
#define | _MAX_DATA_STACK_SIZE_ 1024 |
#define | _MAX_BITSTACK_INSTANCES_ 40 |
Typedefs | |
typedef struct c_bitStack_Privates * | bitStack_PrivatesPtr |
Functions | |
int | new_bitStack (void) |
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) |
void | clearStack (uint16 bitStackDescriptor) |
byte_ptr | getDataBuffer (uint16 bitStackDescriptor) |
sint32 | setDataBuffer (uint16 bitStackDescriptor, byte_ptr data, uint16 dataLength) |
#define _MAX_BITSTACK_INSTANCES_ 40 |
Definition at line 14 of file bitStack.h.
Referenced by new_bitStack().
#define _MAX_DATA_STACK_SIZE_ 1024 |
Definition at line 13 of file bitStack.h.
Referenced by clearStack(), and setDataBuffer().
typedef struct c_bitStack_Privates* bitStack_PrivatesPtr |
Definition at line 19 of file bitStack.h.
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().
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().
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().
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().