Apps Components Interfaces All Files Source Tree | source: tos.lib.VM.interfaces.BombillaBuffer.nc |
Interface for accessing/modifying Bombilla data buffers.
Commands |
Commands - Details |
Parameters: |
context - The context checking the types. buf - The buffer to check. var - The variable whose type to check. |
Returns: | SUCCESS if the variable can be inserted, FAIL otherwise. |
Parameters: |
context - The context performing the append. buf - The buffer to append to. var - The variable to append. |
Returns: | SUCCESS if the variable was appended, FAIL otherwise. |
Parameters: |
context - The context performing the prepend. buf - The buffer to prepend to. var - The variable to prepend. |
Returns: | SUCCESS if the variable was prepended, FAIL otherwise. |
Parameters: |
context - The context performing the concatenation. dest - The buffer to concatenate into. src - The buffer to concatenate from. |
Returns: | The number of elements concatenated. |
Parameters: |
context - The context performing the get. buffer - The buffer to get from. bufferIndex - Which element to get. dest - The variable to fill in with the element. |
Returns: | SUCCESS if element was successfully copied, FAIL otherwise. |
Parameters: |
context - The context performing the yank. buffer - The buffer to yank from. bufferIndex - Which element to yank out. dest - The variable to fill in with the element. |
Returns: | SUCCESS if element was successfully copied and yanked out, FAIL otherwise. |
Parameters: |
context - The context performing the sort. buffer - The buffer to sort. |
Returns: | SUCCESS if the buffer was successfully sorted, FAIL otherwise. |
Parameters: |
context - The context performing the sort. buffer - The buffer to sort. |
Returns: | SUCCESS if the buffer was successfully sorted, FAIL otherwise. |