Functions | |
UaServer_TurboStack * | UaServer_TurboStack_Create (OpcUa_UInt size) |
Creates and initializes a UaServer_TurboStack of requested size. | |
OpcUa_Void | UaServer_TurboStack_Initialize (UaServer_TurboStack *pStack, OpcUa_UInt size) |
Initializes the UaServer_TurboStack structure. | |
OpcUa_Void | UaServer_TurboStack_Clear (UaServer_TurboStack *pStack) |
Clears the UaServer_TurboStack. | |
OpcUa_Void | UaServer_TurboStack_Delete (UaServer_TurboStack *pStack) |
This operation frees the UaServer_TurboStack and it's data. | |
OpcUa_UInt | UaServer_TurboStack_GetSize (UaServer_TurboStack *pStack) |
Returns the actual size of the stack. | |
OpcUa_Int | UaServer_TurboStack_Push (UaServer_TurboStack *pStack, OpcUa_Void *pData) |
Pushes an element onto the stack. | |
OpcUa_Void * | UaServer_TurboStack_Pop (UaServer_TurboStack *pStack) |
Pops an element from stack. |
OpcUa_Void UaServer_TurboStack_Clear | ( | UaServer_TurboStack * | pStack | ) |
Clears the UaServer_TurboStack.
Clears the TurboStack.
UaServer_TurboStack* UaServer_TurboStack_Create | ( | OpcUa_UInt | size | ) |
Creates and initializes a UaServer_TurboStack of requested size.
Creates and initializes a TurboStack of requested size.
size | number of elements that can be stored in this list- |
OpcUa_Void UaServer_TurboStack_Delete | ( | UaServer_TurboStack * | pStack | ) |
This operation frees the UaServer_TurboStack and it's data.
This operation frees the TurboStack and it's data.
OpcUa_UInt UaServer_TurboStack_GetSize | ( | UaServer_TurboStack * | pStack | ) |
Returns the actual size of the stack.
OpcUa_Void UaServer_TurboStack_Initialize | ( | UaServer_TurboStack * | pStack, | |
OpcUa_UInt | size | |||
) |
Initializes the UaServer_TurboStack structure.
Initializes the TurboStack structure.
This operation expects, that the memory block containg the structure is big enough to hold also size elements of data.
OpcUa_Void* UaServer_TurboStack_Pop | ( | UaServer_TurboStack * | pStack | ) |
Pops an element from stack.
pStack | pointer the the stack. |
OpcUa_Int UaServer_TurboStack_Push | ( | UaServer_TurboStack * | pStack, | |
OpcUa_Void * | pData | |||
) |
Pushes an element onto the stack.
pStack | pointer the the stack. | |
pData | data to push |