Functions | |
uint16 | AsebaGetBuffer (AsebaVMState *vm, uint8 *data, uint16 maxLength, uint16 *source) |
const AsebaLocalEventDescription * | AsebaGetLocalEventsDescriptions (AsebaVMState *vm) |
const AsebaNativeFunctionDescription *const * | AsebaGetNativeFunctionsDescriptions (AsebaVMState *vm) |
const AsebaVMDescription * | AsebaGetVMDescription (AsebaVMState *vm) |
void | AsebaProcessIncomingEvents (AsebaVMState *vm) |
void | AsebaSendBuffer (AsebaVMState *vm, const uint8 *data, uint16 length) |
This helper provides to the VM: AsebaSendMessage() AsebaSendVariables() AsebaSendDescription()
This helper provides to the glue code: AsebaProcessIncomingEvents()
This helper requires from the lower level transport layer: AsebaSendBuffer() AsebaGetBuffer()
This helper requires from the glue code: AsebaGetVMDescription() AsebaGetNativeFunctionsDescriptions()
To have a working implementation, the glue code must still implement: AsebaNativeFunction() AsebaAssert(), if ASEBA_ASSERT is defined
uint16 AsebaGetBuffer | ( | AsebaVMState * | vm, |
uint8 * | data, | ||
uint16 | maxLength, | ||
uint16 * | source | ||
) |
Definition at line 990 of file challenge.cpp.
Definition at line 1010 of file challenge.cpp.
const AsebaNativeFunctionDescription* const* AsebaGetNativeFunctionsDescriptions | ( | AsebaVMState * | vm | ) |
Definition at line 1015 of file challenge.cpp.
const AsebaVMDescription* AsebaGetVMDescription | ( | AsebaVMState * | vm | ) |
Definition at line 1000 of file challenge.cpp.
void AsebaProcessIncomingEvents | ( | AsebaVMState * | vm | ) |
Read messages and process messages from transport layer, if any
Definition at line 203 of file vm-buffer.c.
void AsebaSendBuffer | ( | AsebaVMState * | vm, |
const uint8 * | data, | ||
uint16 | length | ||
) |
Definition at line 969 of file challenge.cpp.