|
Adaptive Framework
0.9.0
|
Adaptive Framework Execution Context (xctx) Implementation Header. More...
#include "afw_interface.h"Go to the source code of this file.
Data Structures | |
| struct | afw_xctx_evaluation_stack_entry_s |
| The execution context (xctx) evaluation stack entry. More... | |
| struct | afw_xctx_qualifier_stack_entry_s |
Macros | |
| #define | AFW_XCTX_Q_NAME_BASE "base" |
| #define | AFW_XCTX_s_NAME_BASE afw_s_base |
| #define | AFW_XCTX_Q_NAME_REQUEST_THREAD "request_thread" |
| #define | AFW_XCTX_s_NAME_REQUEST_THREAD afw_s_request_thread |
| #define | AFW_XCTX_Q_NAME_REQUEST_SESSION "request_session" |
| #define | AFW_XCTX_s_NAME_REQUEST_SESSION afw_s_request_session |
| #define | afw_xctx_evaluation_stack_push_value(VALUE, xctx) |
| Push VALUE onto execution stack. More... | |
| #define | afw_xctx_evaluation_stack_push_parameter_number(PARAMETER_NUMBER, xctx) |
| Push PARAMETER_NUMBER onto execution stack. More... | |
| #define | afw_xctx_evaluation_stack_pop(xctx) |
| Pop top PARAMETER_NUMBER or VALUE off execution stack. More... | |
| #define | afw_xctx_evaluation_stack_pop_value(xctx) afw_stack_pop(xctx->evaluation_stack, xctx) |
| Pop top VALUE off execution stack. More... | |
| #define | afw_xctx_evaluation_stack_pop_parameter_number(xctx) |
| Pop top PARAMETER_NUMBER off execution stack. More... | |
| #define | afw_xctx_evaluation_stack_save_top(xctx) |
| Save top of stack. More... | |
| #define | afw_xctx_evaluation_stack_restore_top(xctx) xctx->evaluation_stack->top = evaluation_stack_save_top |
| Save top of stack. More... | |
| #define | afw_xctx_calloc(size, xctx) afw_pool_calloc((xctx)->p, (size), (xctx)) |
| Macro to allocate cleared memory in xctx's pool. More... | |
| #define | afw_xctx_calloc_type(type, xctx) (type *) afw_pool_calloc((xctx)->p, sizeof(type), (xctx)) |
| Macro to allocate cleared memory to hold type in xctx's pool. More... | |
| #define | afw_xctx_malloc(size, xctx) afw_pool_malloc((xctx)->p, (size), (xctx)) |
| Macro to allocate uncleared memory in xctx's pool. More... | |
| #define | afw_xctx_malloc_type(type, xctx) (type *) afw_pool_malloc((xctx)->p, sizeof(type), (xctx)) |
| Macro to allocate uncleared memory to hold type in xctx's pool. More... | |
| #define | AFW_XCTX_SECURE_BEGIN |
| Begin a section this can only use secure context variables. More... | |
| #define | AFW_XCTX_SECURE_END |
| End a section this can only use secure context variables. More... | |
| #define | AFW_XCTX_AUTHORIZATION_MODE_BEGIN(modeId) |
| Macro to begin an authorization mode change section. More... | |
| #define | AFW_XCTX_AUTHORIZATION_MODE_END |
| Macro to end an authorization xctx mode change section. More... | |
Functions | |
| AFW_STACK_STRUCT (afw_xctx_evaluation_stack_s, afw_xctx_evaluation_stack_entry_t) | |
| afw_xctx_t * | afw_xctx_create (const afw_utf8_t *name, afw_integer_t number, afw_xctx_t *xctx) |
| Create an Adaptive Framework xctx. More... | |
| afw_boolean_t | afw_xctx_environment_is_terminating (afw_xctx_t *xctx) |
| Test for environment terminating. More... | |
| const afw_value_t * | afw_xctx_get_qualified_variable (const afw_utf8_t *qualifier, const afw_utf8_t *name, afw_xctx_t *xctx) |
| Get a variable from xctx stack. More... | |
| void | afw_xctx_define_variable (const afw_utf8_t *name, const afw_value_t *value, afw_xctx_t *xctx) |
| Defined a variable in current xctx frame. More... | |
| void | afw_xctx_set_defined_variable (const afw_utf8_t *name, const afw_value_t *value, afw_xctx_t *xctx) |
| Set a defined variable in xctx. More... | |
| void | afw_xctx_set_local_variable (const afw_utf8_t *name, const afw_value_t *value, afw_xctx_t *xctx) |
| Set a variable then current xctx frame. More... | |
| int | afw_xctx_begin_stack_frame (afw_xctx_t *xctx) |
| Begin stack frame. More... | |
| void | afw_xctx_end_stack_frame (int top, afw_xctx_t *xctx) |
| Set stack top. More... | |
| int | afw_xctx_get_qualifier_stack_top (afw_xctx_t *xctx) |
| Get qualifier stack top. More... | |
| void | afw_xctx_set_qualifier_stack_top (int top, afw_xctx_t *xctx) |
| Set stack top index. More... | |
| void | afw_xctx_push_qualifiers_object (const afw_object_t *context_object, afw_boolean_t secure, const afw_pool_t *p, afw_xctx_t *xctx) |
| Push qualifiers object on to stack. More... | |
| afw_xctx_qualifier_stack_entry_t * | afw_xctx_push_qualifier (const afw_utf8_t *qualifier, const afw_object_t *qualifier_object, afw_boolean_t secure, afw_xctx_get_variable_t get, void *data, const afw_pool_t *p, afw_xctx_t *xctx) |
| Push qualifier on to stack. More... | |
| void | afw_xctx_push_qualifier_object (const afw_utf8_t *qualifier_name, const afw_object_t *qualifier_object, afw_boolean_t secure, const afw_pool_t *p, afw_xctx_t *xctx) |
| Push qualifier object on to stack. More... | |
| afw_xctx_qualifier_object_create (const afw_utf8_t *qualifier, afw_boolean_t for_testing, const afw_pool_t *p, afw_xctx_t *xctx) | |
| Create object to access active variables for a qualifier. More... | |
| afw_xctx_qualifiers_object_create (afw_boolean_t for_testing, const afw_pool_t *p, afw_xctx_t *xctx) | |
| Create object to access active qualified variables. More... | |
Adaptive Framework Execution Context (xctx) Implementation Header.
Definition in file afw_xctx.h.