Simple Virtual Machine
A simple but flexible virtual machine
|
This module contains API functions to detect variable types. More...
Functions | |
SVM_FUNCTION SVM_Boolean | svm_variable_is_valid (const void *svm, const SVM_Variable variable) |
This function checks whether a variable is valid. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_value (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a value. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_structure (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a structure. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_parameter (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a parameter. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_accesscontrol (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains an access control. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_memoryzone (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a memory zone. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_code (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a SVM code. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_kernel (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a kernel. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_process (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a process. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_processlock (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a process lock. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_scheduler (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a scheduler. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_lock (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a lock. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_lockguardread (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a lock guard in read mode. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_lockguardwrite (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains a lock guard in write mode. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_eventqueue (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains an event queue. More... | |
SVM_FUNCTION SVM_Boolean | svm_variable_type_is_eventqueueaddress (const void *svm, const SVM_Variable variable) |
This function checks whether a variable contains an event queue address. More... | |
This module contains API functions to detect variable types.
SVM_FUNCTION SVM_Boolean svm_variable_is_valid | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable is valid.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_accesscontrol | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains an access control.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_code | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a SVM code.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_eventqueue | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains an event queue.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_eventqueueaddress | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains an event queue address.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_kernel | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a kernel.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_lock | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a lock.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_lockguardread | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a lock guard in read mode.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_lockguardwrite | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a lock guard in write mode.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_memoryzone | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a memory zone.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_parameter | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a parameter.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_process | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a process.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_processlock | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a process lock.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_scheduler | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a scheduler.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_structure | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a structure.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |
SVM_FUNCTION SVM_Boolean svm_variable_type_is_value | ( | const void * | svm, |
const SVM_Variable | variable | ||
) |
This function checks whether a variable contains a value.
[in] | svm | The SVM pointer passed as first argument of the callback function. |
[in] | variable | The variable to diagnose. |
FAILURE | interruption when a parameter is incorrect. (Please refer to the main description page of this API.) |