Adaptive Framework
0.9.0
|
Files | |
file | afw_common.h |
Adaptive Framework Common Header. | |
file | afw_common_opaques.h |
Adaptive Framework Common Opaques Header. | |
file | afw_interface_common.h |
Adaptive Framework Interface Common Header. | |
Data Structures | |
struct | afw_memory_s |
Struct for memory pointer and size. More... | |
struct | afw_utf8_s |
NFC normalized UTF-8 string. More... | |
union | afw_utf8_utf8_z_s |
NFC normalized UTF-8 string accessible as afw_utf8_t or afw_utf8_z_t. More... | |
struct | afw_utf8_array_s |
Array of strings. More... | |
struct | afw_stack_s |
Struct for afw_stack_t typedef. More... | |
struct | afw_name_value_s |
Typedef for name/value pair. More... | |
struct | afw_key_string_s |
Typedef for key/string pair. More... | |
struct | afw_key_z_string_z_s |
Typedef for key/string pair that have both utf8 and utf8_z. More... | |
struct | afw_object_meta_s |
Typedef for meta variable in afw_object interface. More... | |
struct | afw_environment_s |
Struct for typedef afw_environment_t defined in afw_common.h. More... | |
union | afw_c_types_u |
Typedef for union of all cType. More... | |
struct | afw_time_with_offset_s |
Time with offset (old) More... | |
struct | afw_yearMonthDuration_s |
yearMonth duration More... | |
struct | afw_dayTimeDuration_s |
dayTime duration More... | |
struct | afw_time_duration_s |
Time duration. More... | |
struct | afw_time_zone_s |
time zone More... | |
struct | afw_date_no_time_zone_s |
date with no time zone. More... | |
struct | afw_date_s |
date with time zone. More... | |
struct | afw_time_no_time_zone_s |
time with no time zone. More... | |
struct | afw_time_s |
time with time zone. More... | |
struct | afw_dateTime_s |
date, time, and time zone. More... | |
struct | afw_interface_rti_variable_s |
Interface Variable Run Time Information. More... | |
struct | afw_interface_rti_method_s |
Interface Method Run Time Information. More... | |
struct | afw_interface_rti_s |
Interface Run Time Information. More... | |
struct | afw_interface_implementation_rti_s |
Interface Implementation Run Time Information. More... | |
struct | afw_interface_s |
Minimal Interface. More... | |
struct | afw_instance_s |
Minimal Instance. More... | |
Macros | |
#define | AFW_POSSIBLY_UNUSED_VARIABLE |
Macro to avoid unused variable warning. More... | |
#define | AFW_ASSERT(e) assert(e) |
#define | offsetof(type, member) __builtin_offsetof (type, member) |
#define | AFW_ADAPTOR_ID "afw" |
#define | AFW_STRINGIFY(x) AFW_STRINGIFY_x(x) |
Evaluate x and quote the results. | |
#define | AFW_STRINGIFY_x(x) #x |
#define | AFW__FILE_LINE__ __FILE__ ":" AFW_STRINGIFY(__LINE__) |
file:line | |
#define | AFW_INT32_MIN -2147483647 - 1 |
Min int32. | |
#define | AFW_INT32_MAX 2147483647 |
Max int32. | |
#define | AFW_UINT16_MAX 65536 |
Max uint32. | |
#define | AFW_UINT32_MAX 4294967296 |
Max uint32. | |
#define | AFW_UTF8_Z_LEN -1 |
String is NUL (0) terminate. More... | |
#define | AFW_INTEGER_MAX_BUFFER 21 |
this is the maximum number of digits that can be produced by afw_integer_t plus negative sign plus null terminator. Largest negative 64 bit int is -9223372036854775808 Largest positive 64 bit int is 9223372036854775807 | |
#define | AFW_INTEGER_MAX APR_INT64_MAX |
largest afw_integer_t | |
#define | AFW_INTEGER_Q_MAX "9223372036854775807" |
largest afw_integer_t quoted | |
#define | AFW_INTEGER_MIN APR_INT64_MIN |
smallest afw_integer_t | |
#define | AFW_INTEGER_Q_MIN "-9223372036854775808" |
smallest afw_integer_t quoted | |
#define | AFW_INTEGER_MAX_SAFE_DOUBLE 9007199254740991 |
largest afw_integer_t value that a double can hold. | |
#define | AFW_INTEGER_MIN_SAFE_DOUBLE -9007199254740991 |
smallest afw_integer_t value that a double can hold. | |
#define | AFW_INTEGER_IS_SAFE_DOUBLE(integer) |
Tests integer to be safely held in a double. More... | |
#define | AFW_INTEGER_FMT APR_INT64_T_FMT |
Format string specifier used for afw_integer_t. | |
#define | AFW_INTEGER_MAX_DIGITS 19 |
afw_integer_t max digits. | |
#define | AFW_Q_INTEGER_MAX_DIGITS "19" |
afw_integer_t max digits in quotes. | |
#define | AFW_SIZE_T_FMT APR_SIZE_T_FMT |
Format string specifier used for afw_size_t. | |
#define | AFW_SIZE_T_MAX APR_SIZE_MAX |
afw_size_t max. | |
#define | AFW_SIZE_T_MAX_DIGITS 19 |
afw_size_t max digits. | |
#define | AFW_Q_SIZE_T_MAX_DIGITS "19" |
afw_size_t max digits in quotes. | |
#define | AFW_SIZE_T_MAX_BUFFER AFW_SIZE_T_MAX_DIGITS + 1 |
this is the maximum number of digits that can be produced by afw_size_t plus null terminator. | |
#define | AFW_TRUE true |
#define | AFW_FALSE false |
#define | AFW_CRLF "\x0d\x0a" |
#define | AFW_CRLF_STRLEN 2 |
#define | AFW_COMPILE_TYPE_MAP(XX) |
Compile Type Map. More... | |
#define | AFW_UTF8_LITERAL(A_STRING) {A_STRING, sizeof(A_STRING) - 1} |
String literal initializer. More... | |
#define | AFW_UTF8_FMT ".*s" |
Format string specifier used for afw_utf8_t. | |
#define | AFW_UTF8_CONTEXTUAL_LABEL_FMT_SEP "> " |
Format string used for source location separator. | |
#define | AFW_UTF8_CONTEXTUAL_LABEL_FMT AFW_UTF8_FMT AFW_UTF8_CONTEXTUAL_LABEL_FMT_SEP |
Format string used for source location. | |
#define | AFW_UTF8_FMT_ARG(A_STRING) (int)(A_STRING)->len, (const char *)(A_STRING)->s |
Convenience Macro for use with AFW_UTF8_FMT to specify arg. More... | |
#define | AFW_UTF8_FMT_OPTIONAL_ARG(A_STRING) |
Convenience Macro for use with AFW_UTF8_FMT to specify optional arg. More... | |
#define | AFW_UTF8_FMT_OPTIONAL_UNDEFINED_ARG(A_STRING) |
Convenience Macro for use with AFW_UTF8_FMT to specify optional arg. More... | |
#define | AFW_MESSAGE_PREFIX __FILE__ ":" AFW_STRINGIFY(__LINE__) " " |
Macro to produce prefix for AFW messages. | |
#define | AFW_UTF8_ENCODING "UTF-8" |
UTF-8 encoding. | |
#define | AFW_STACK_STRUCT(struct_name, entry_type) |
Define a struct for a stack with the specified entry type. More... | |
#define | AFW_ERROR_CODE_MAP(XX) |
Error code map. IMPORTANT>>> Do not change the order of these entries. The order must match the order of the error codes in afw_error_code_t as originally released since the internal number will be externally compile in. More... | |
#define | AFW_SERVICE_STARTUP_MAP(XX) |
Map used for afw_service_startup_t enum. More... | |
#define | AFW_SERVICE_STATUS_MAP(XX) |
Map used for afw_service_status_t enum. More... | |
#define | afw_thread_mutex_t apr_thread_mutex_t |
Uses apr_thread_mutex_t asis. See afw_thread.h. | |
#define | afw_thread_mutex_create apr_thread_mutex_create |
Uses apr_thread_mutex_t asis. | |
#define | afw_thread_mutex_lock apr_thread_mutex_lock |
Uses apr_thread_mutex_t asis. | |
#define | afw_thread_mutex_trylock apr_thread_mutex_trylock |
Uses apr_thread_mutex_trylock asis. | |
#define | afw_thread_mutex_unlock apr_thread_mutex_unlock |
Uses apr_thread_mutex_unlock asis. | |
#define | afw_thread_mutex_destroy apr_thread_mutex_destroy |
Uses apr_thread_mutex_destroy asis. | |
#define | AFW_THREAD_FUNCTION APR_THREAD_FUNC |
Uses APR_THREAD_FUNC as AFW_THREAD_FUNCTION. | |
#define | AFW_ENVIRONMENT_DEFAULT_EVALUATION_STACK_INITIAL_COUNT 100 |
Default for afw_environment_t evaluation_stack_initial_count. | |
#define | AFW_ENVIRONMENT_DEFAULT_EVALUATION_STACK_MAXIMUM_COUNT 200 |
Default for afw_environment_t evaluation_stack_maximum_count. | |
Functions | |
AFW_STACK_STRUCT (afw_utf8_stack_s, afw_utf8_t) | |
afw_utf8_t stack struct. | |
AFW_STACK_STRUCT (afw_const_utf8_a_stack_s, const afw_utf8_t *) | |
const afw_utf8_t * stack struct. | |
AFW_STACK_STRUCT (afw_name_value_stack_s, afw_name_value_t) | |
const afw_utf8_t * stack struct. | |
Common to all Adaptive Framework applications
#define AFW_ADAPTOR_ID "afw" |
Adaptive Framework's core adaptor id.
Definition at line 141 of file afw_common.h.
#define AFW_ASSERT | ( | e | ) | assert(e) |
Definition at line 131 of file afw_common.h.
#define AFW_COMPILE_TYPE_MAP | ( | XX | ) |
Compile Type Map.
XX | macro |
There must be and afw_s_ with each name in map.
Definition at line 409 of file afw_common.h.
#define AFW_CRLF "\x0d\x0a" |
The end-of-line marker for HTTP protocol elements.
Definition at line 396 of file afw_common.h.
#define AFW_CRLF_STRLEN 2 |
The strlen of the end-of-line marker for HTTP protocol elements.
Definition at line 400 of file afw_common.h.
#define AFW_ERROR_CODE_MAP | ( | XX | ) |
Error code map. IMPORTANT>>> Do not change the order of these entries. The order must match the order of the error codes in afw_error_code_t as originally released since the internal number will be externally compile in.
none - No error has occurred.
general - A general error has occurred that does not match a more specific error code.
evaluate - A error occurred while evaluating an adaptive value.
bad_request - Something about the request was bad.
query_to_complex - The query is too complex for the particular adaptor and/or index.
request_syntax - A error occurred while parsing the request.
objects_needed - This error will not occur if the object whose URI is in error.additional is available in the xctx's cache. Function afw_object_resolve_instance() uses this error code when object is NULL and the object with the URI passed is not in the cache.
authentication_required - Subject authentication required.
denied - The caller is not authorized to perform the request. See error.additional for more information.
read_only - Something is read only. See error.additional for an indication of what is write protected.
not_found - Something was not found. If "not found" is a normal condition that might happen in a function or method, returning NULL or using a parameter should communicate "not found" instead of throwing an error with this error code. For example, function afw_object_get_property() sets its "found" parameter to AFW_FALSE and afw_object_resolve_instance() return NULL to indicate "not found".
method_not_allowed - Method is not allowed for this resource.
unsupported_accept - None of the request's acceptable response content types are supported.
client_time_out - Timed out waiting on client.
conflict - Conflict such as resourse in use.
length_required - Request requires content length.
unsupported_content_type - The request's content type is not supported.
memory - There is not enough memory available to continue.
syntax - A server side syntax error occurred.
method_not_supported - The implementation of this interface does not support this method.
client_closed - Client closed connection.
Map has id, error_allow_in_response, http_response_code, and description.
id: Id of error code error_allow_in_response: If an error is thrown with this id, it's allowed for the HTTP response to include the error object. http_response_code: The HTTP response code to use if this error is thrown. description: A very short description that will be included in after the http_response_code in the status message.
Definition at line 896 of file afw_common.h.
#define AFW_FALSE false |
AFW boolean false.
False will always be 0.
Normal C boolean testing can be used for checking.
Definition at line 392 of file afw_common.h.
#define AFW_INTEGER_IS_SAFE_DOUBLE | ( | integer | ) |
Tests integer to be safely held in a double.
integer | to test. |
Definition at line 313 of file afw_common.h.
#define AFW_POSSIBLY_UNUSED_VARIABLE |
Macro to avoid unused variable warning.
This avoids GCC warning unused-variable when placed before a variable.
Example:
AFW_POSSIBLY_UNUSED_VARIABLE afw_boolean_t this_FINALLY_ENTERED = false;
Definition at line 127 of file afw_common.h.
#define AFW_SERVICE_STARTUP_MAP | ( | XX | ) |
Map used for afw_service_startup_t enum.
Definition at line 1298 of file afw_common.h.
#define AFW_SERVICE_STATUS_MAP | ( | XX | ) |
Map used for afw_service_status_t enum.
Definition at line 1321 of file afw_common.h.
#define AFW_STACK_STRUCT | ( | struct_name, | |
entry_type | |||
) |
Define a struct for a stack with the specified entry type.
struct_name | of struct. |
entry_type | typedef name. |
The member variables must correspond to afw_stack_s, but with the specified entry_type instead of void for the type of first, top, and end.
Definition at line 718 of file afw_common.h.
#define AFW_TRUE true |
AFW boolean true.
True can be any value other than 0.
Only use AFW_TRUE for setting a true value. Normal C boolean testing should be used for checking.
Definition at line 383 of file afw_common.h.
#define AFW_UTF8_FMT_ARG | ( | A_STRING | ) | (int)(A_STRING)->len, (const char *)(A_STRING)->s |
Convenience Macro for use with AFW_UTF8_FMT to specify arg.
A_STRING | a (const afw_utf8_t *) string. |
The argument for %" AFW_UTF8_FMT " is an int length (not size_t) followed by a comma and const char *.
Definition at line 605 of file afw_common.h.
#define AFW_UTF8_FMT_OPTIONAL_ARG | ( | A_STRING | ) |
Convenience Macro for use with AFW_UTF8_FMT to specify optional arg.
A_STRING | a (const afw_utf8_t *) string or NULL. |
The argument for %" AFW_UTF8_FMT " is an int length (not size_t) followed by a comma and const char *.
Definition at line 616 of file afw_common.h.
#define AFW_UTF8_FMT_OPTIONAL_UNDEFINED_ARG | ( | A_STRING | ) |
Convenience Macro for use with AFW_UTF8_FMT to specify optional arg.
A_STRING | a (const afw_utf8_t *) string or undefined. |
The argument for %" AFW_UTF8_FMT " is an int length (not size_t) followed by a comma and const char *. If NULL, <undefined>
is supplied.
Definition at line 628 of file afw_common.h.
#define AFW_UTF8_LITERAL | ( | A_STRING | ) | {A_STRING, sizeof(A_STRING) - 1} |
String literal initializer.
Example of use:
static const afw_utf8_t hello = AFW_UTF8_LITERAL("Hello World");
Definition at line 582 of file afw_common.h.
#define AFW_UTF8_Z_LEN -1 |
String is NUL (0) terminate.
For function and methods that have length parameters for strings and document that -1 can be used if string is NUL (0) terminated, this symbol can be used.
Definition at line 266 of file afw_common.h.
#define offsetof | ( | type, | |
member | |||
) | __builtin_offsetof (type, member) |
Definition at line 135 of file afw_common.h.
typedef struct afw_adaptor_id_anchor_s afw_adaptor_id_anchor_t |
Opaque typedef for afw_adaptor_id_anchor_t.
See afw_adaptor.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_adaptor_impl_request_s afw_adaptor_impl_request_t |
Opaque typedef for afw_adaptor_impl_request_t.
See afw_adaptor_impl.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_adaptor_impl_session_s afw_adaptor_impl_session_t |
Opaque typedef for afw_adaptor_impl_session_t.
See afw_adaptor_impl.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_adaptor_impl_s afw_adaptor_impl_t |
Opaque typedef for afw_adaptor_impl_t.
See afw_adaptor_impl.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_adaptor_internal_cache_s afw_adaptor_internal_cache_t |
Opaque typedef for afw_adaptor_internal_cache_t.
See afw_adaptor_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_adaptor_internal_session_cache_t.
See afw_adaptor_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef enum afw_adaptor_journal_option_e afw_adaptor_journal_option_t |
Typedef for afw_adaptor_journal get_entry options enum.
The options use zero of more of these parameters:
parameter | description |
---|---|
entry_cursor | The objectId of a journal entry. |
consumer_id | The objectId of an AdaptiveProvisioningPeer object. |
limit | The maximum number of entries that will be scanned for an entry where the consumerFilter expression in the associated AdaptiveProvisioningPeer object evaluates to true. |
Depending on option, get_entry() sets zero or more of these properties in the response:
property | description |
---|---|
entry | If a journal entry is retrieved, get_entry() will set this Object property to the entry. If the option is a "get next" option and there are no applicable entries to return, this property will remain unset. |
entryCursor | If a journal entry is retrieved, get_entry() will set this Sting property to its objectId, also know as its entryCursor. |
reissue | If the object retrieved is a reissue of one previously retrieved, this Boolean property will be set to true. |
typedef struct afw_adaptor_modify_entry_s afw_adaptor_modify_entry_t |
Opaque typedef for afw_adaptor_modify_entry_t.
See afw_adaptor.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_adaptor_xctx_internal_s afw_adaptor_xctx_internal_t |
Opaque typedef for afw_adaptor_internal_t.
See afw_adaptor_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_advice_expression_s afw_authorization_advice_expression_t |
Opaque typedef for afw_authorization_advice_expression_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_combiner_parameter_s afw_authorization_combiner_parameter_t |
Opaque typedef for afw_authorization_combiner_parameter_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_internal_control_s afw_authorization_control_t |
Opaque typedef for afw_authorization_control_t.
See afw_authorization_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_decision_s afw_authorization_decision_t |
Opaque typedef for afw_authorization_decision_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_authorization_handler_id_anchor_t.
See afw_authorization_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_handler_id_s afw_authorization_handler_id_t |
Opaque typedef for afw_authorization_handler_id_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_handler_impl_s afw_authorization_handler_impl_t |
Opaque typedef for afw_authorization_handler_impl_t.
See afw_authorization_handler_impl.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_obligation_expression_s afw_authorization_obligation_expression_t |
Opaque typedef for afw_authorization_obligation_expression_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_policy_issuer_s afw_authorization_policy_issuer_t |
Opaque typedef for afw_authorization_policy_issuer_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_policy_location_s afw_authorization_policy_location_t |
Opaque typedef for afw_authorization_policy_location_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_policy_set_s afw_authorization_policy_set_t |
Opaque typedef for afw_authorization_policy_set_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_policy_s afw_authorization_policy_t |
Opaque typedef for afw_authorization_policy_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_authorization_rule_s afw_authorization_rule_t |
Opaque typedef for afw_authorization_rule_t.
See afw_authorization.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef _Bool afw_boolean_t |
Boolean value.
Definition at line 373 of file afw_common.h.
typedef unsigned char afw_byte_t |
typedef afw_code_point_t(* afw_code_point_get_cb_t) (void *data, afw_xctx_t *xctx) |
Get Unicode code point callback.
data | from provider of callback. |
xctx | of caller to callback |
Definition at line 244 of file afw_common.h.
typedef struct afw_compile_internal_args_s afw_compile_args_t |
Opaque typedef for afw_compile_args_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_compile_assignment_element_s afw_compile_assignment_element_t |
Opaque typedef for afw_compile_assignment_element_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_compile_assignment_property_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_compile_assignment_target_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_compile_list_destructure_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_compile_object_destructure_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_compile_internal_parser_s afw_compile_parser_t |
Opaque typedef for afw_compile_parser_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_compile_internal_shared_s afw_compile_shared_t |
Opaque typedef for afw_compile_shared_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_compile_internal_token_s afw_compile_token_t |
Opaque typedef for afw_compile_token_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_compile_type_info_s afw_compile_type_info_t |
Opaque typedef for afw_compile_type_info_t.
See afw_compile.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_compile_value_contextual_t.
See afw_compile_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_components_s afw_components_t |
Application app (afw_app) object.
See afw_components.h for more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_const_utf8_a_stack_s afw_const_utf8_a_stack_t |
Opaque typedef for afw_const_utf8_a_stack_t.
See afw_common.h for AFW_STACK_STRUCT() and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_context_cb_variable_meta_s afw_context_cb_variable_meta_t |
Opaque typedef for afw_context_cb_variable_meta_t.
See afw_context.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_context_cb_variable_s afw_context_cb_variable_t |
Opaque typedef for afw_context_cb_variable_t.
See afw_context.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_context_s afw_context_t |
Opaque typedef for afw_context_t.
See afw_context.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_dayTimeDuration_s afw_dayTimeDuration_t |
dayTime duration
If negative duration, all members will/MUST be negative or zero.
typedef struct afw_environment_conf_type_s afw_environment_conf_type_t |
Opaque typedef for afw_environment_conf_type_t.
See afw_environment.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_environment_registry_type_s afw_environment_registry_type_t |
Opaque typedef for afw_environment_registry_type_t.
See afw_common.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_environment_s afw_environment_t |
Opaque typedef for afw_environment_t.
See afw_interface.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef enum afw_error_code_e afw_error_code_t |
Adaptive Framework error codes enum.
typedef struct afw_error_context_s afw_error_context_t |
Opaque typedef for afw_error_context_t.
See afw_error.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_error_s afw_error_t |
Opaque typedef for afw_error_t.
See afw_error.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_expression_s afw_expression_t |
Opaque typedef for afw_expression_t.
See afw_expression.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_flag_s afw_flag_t |
Opaque typedef for afw_flag_t.
See afw_flag.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef const afw_utf8_t*(* afw_function_arg_check_t) (afw_function_execute_t *x, afw_size_t argc, const afw_value_t *argv[], const afw_pool_t *p, afw_xctx_t *xctx) |
Typedef for function arg check functions.
x | The function execute struct. |
argc | The number of function parameters (does not include argv[0]). |
argv | The function to call argv[0] followed by function parameters. |
p | The memory pool allocated by the expression compiler. |
xctx | of the caller. |
This function does any addition argument checking that may be needed and is only called when a expression is being compiled, NOT each time a request is processed.
Definition at line 1288 of file afw_common.h.
typedef struct afw_function_environment_s afw_function_environment_t |
Opaque typedef for afw_function_environment_t.
See afw_function.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef const afw_value_t*(* afw_function_execute_cb_t) (afw_function_execute_t *x) |
Typedef for function execute functions.
x | Function execute struct. |
Definition at line 1251 of file afw_common.h.
typedef struct afw_function_execute_s afw_function_execute_t |
Opaque typedef for afw_function_execute_t.
See afw_function.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef const afw_value_t*(* afw_function_thunk_execute_t) (const afw_value_function_thunk_t *function, afw_size_t argc, const afw_value_t *const *argv, const afw_pool_t *p, afw_xctx_t *xctx) |
Typedef for function thunk execute functions.
function | Evaluated argv[0] and if polymorphic, specific instance. |
argc | The number of function parameters (does not include argv[0]). |
argv | The function to call argv[0] followed by function parameters. |
p | to use. |
xctx | execution context. |
Definition at line 1265 of file afw_common.h.
typedef struct afw_iterator_s afw_iterator_t |
Opaque typedef iterator.
Each implementation with a afw_iterator_t ** parameter has its own private afw_iterator_s struct definition or use.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_lock_rw_s afw_lock_rw_t |
Opaque typedef for afw_lock_rw_t.
See afw_lock.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_lock_s afw_lock_t |
Opaque typedef for afw_lock_t.
See afw_lock.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_log_impl_s afw_log_impl_t |
Opaque typedef for afw_log_impl_s.
See afw_log_impl.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef int afw_log_priority_mask_t |
Log priority mask. See afw_log.h for more information.
Definition at line 659 of file afw_common.h.
typedef struct afw_memory_s afw_memory_t |
Struct for memory pointer and size.
IMPORTANT: This must match up with afw_utf8_t since it is accepted to cast from afw_utf8_t to afw_memory_t. Don't cast the other way around unless you are positive ptr point to NFC Unicode – use afw_utf8_from_raw() instead.
typedef struct afw_model_associative_array_s afw_model_associative_array_t |
Opaque typedef for afw_model_associative_array_t.
See afw_associative_array.c for struct and more information. This is used by AFW_ASSOCIATIVE_ARRAY_TEMPLATE() in afw_model.h.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for type=model adaptor self.
See afw_model.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for type=model adaptor session self.
See afw_model.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_internal_context_s afw_model_internal_context_t |
Opaque typedef for afw_model_internal_context_t.
See afw_model_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_location_s afw_model_location_t |
Opaque typedef for afw_model_location_t.
See afw_model_location.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_internal_object_type_s afw_model_object_type_t |
Opaque typedef for model object type.
See afw_model.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_property_constraint_s afw_model_property_constraint_t |
Opaque typedef for object type property type constraint.
See afw_model.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_internal_property_type_s afw_model_property_type_t |
Opaque typedef for object type property type.
See afw_model.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_model_internal_s afw_model_t |
Opaque typedef for afw_model_t.
See afw_model_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_name_value_stack_s afw_name_value_stack_t |
Name/value stack.
See afw_common.h for more information.
Definition at line 1 of file afw_common_opaques.h.
typedef afw_boolean_t(* afw_object_cb_t) (const afw_object_t *object, void *context, afw_xctx_t *xctx) |
Typedef for afw_adaptor_session_object callback.
object | pointer or NULL. |
context | supplied with callback |
xctx | of caller |
The purpose of returning true from a callback function is to short circuit a retrieve request when the callback has determined that it is "complete". Unless the callback has a special purpose like this, it should always return false so that it will continue to called until there are no more objects.
This is the callback passed to afw_adaptor_session_retrieve_objects() and afw_adaptor_session_get_object().
For afw_adaptor_session_retrieve_objects(), it is called each time an object is retrieved and once with an object pointer when finished.
For afw_adaptor_session_get_object(), it is called once, either with the object retrieved or NULL if not found.
The callback function should call afw_object_release() on object once finished with it.
Definition at line 1175 of file afw_common.h.
typedef struct afw_object_meta_object_s afw_object_meta_object_t |
Opaque typedef for afw_object_meta_object_t.
See afw_object_meta.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_object_meta_s afw_object_meta_t |
Typedef for meta variable in afw_object interface.
Information in this struct should be accessed using functions declared in afw_object_meta.h – do not access directly.
typedef struct afw_object_options_s afw_object_options_t |
Object view options.
See afw_object_view.h for more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_object_path_parsed_s afw_object_path_parsed_t |
Opaque typedef for afw_object_path_parsed_t.
See afw_object_path.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_object_path_property_name_entry_t.
See afw_object_path.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_object_properties_callback_entry_t.
See afw_object.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_object_type_property_type_s afw_object_type_property_type_t |
Opaque typedef for afw_object_type_property_type_t.
See afw_object_type.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_object_type_s afw_object_type_t |
Opaque typedef for afw_object_type_t.
See afw_object_type.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef unsigned char afw_octet_t |
typedef void(* afw_pool_cleanup_function_p_t) (void *data, void *data2, const afw_pool_t *p, afw_xctx_t *xctx) |
Typedef for pool cleanup functions.
data | supplied on cleanup register. |
data2 | supplied on cleanup register. |
p | being cleaned up. |
xctx | of caller to cleanup. |
Definition at line 954 of file afw_common.h.
Opaque typedef for query criteria filter entry.
See afw_query_criteria.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_query_criteria_s afw_query_criteria_t |
Opaque typedef for query criteria.
See afw_query_criteria.h for struct definition.
Definition at line 1 of file afw_common_opaques.h.
typedef int afw_rc_t |
Adaptive Framework Return Code.
Definition at line 663 of file afw_common.h.
typedef afw_size_t(* afw_read_cb_t) (void *context, const void *buffer, afw_size_t size, afw_boolean_t *more_to_read, const afw_pool_t *p, afw_xctx_t *xctx) |
Typedef for read callback function.
context | supplied with callback. |
buffer | where bytes will be read into. |
size | is the number of bytes to read. A value of -1 reads a line. |
more_to_read | indicates that there is possibly more input to read. |
p | is pool to use if resources are needed. |
xctx | of caller. |
Definition at line 1206 of file afw_common.h.
Opaque typedef for afw_runtime_const_object_instance_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_runtime_const_object_meta_object_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_custom_s afw_runtime_custom_t |
Opaque typedef for afw_runtime_custom_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_object_indirect_s afw_runtime_object_indirect_t |
Opaque typedef for afw_runtime_object_indirect_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_runtime_object_map_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_object_map_s afw_runtime_object_map_t |
Opaque typedef for afw_runtime_object_map_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_object_type_meta_s afw_runtime_object_type_meta_t |
Opaque typedef for afw_runtime_object_type_meta_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_objects_s afw_runtime_objects_t |
Opaque typedef for afw_runtime_objects_t.
See afw_runtime.t for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_property_s afw_runtime_property_t |
Opaque typedef for afw_runtime_property_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_unresolved_const_embedded_untyped_object_s afw_runtime_unresolved_const_embedded_untyped_object_t |
Opaque typedef for afw_runtime_unresolved_const_embedded_untyped_object_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_runtime_unresolved_const_list_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_runtime_unresolved_const_object_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_runtime_unresolved_property_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_runtime_unresolved_value_s afw_runtime_unresolved_value_t |
Opaque typedef for afw_runtime_unresolved_value_t.
See afw_runtime.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef enum afw_service_startup_e afw_service_startup_t |
Typedef for service startup type enum.
This is used by the afw_service interface definition. See afw_service.h for more information.
typedef enum afw_service_status_e afw_service_status_t |
Typedef for service status enum.
This is used by the afw_service interface definition. See afw_service.h for more information.
typedef struct afw_service_s afw_service_t |
Typedef for service.
Struct defined in afw_service.h.
Definition at line 1 of file afw_common_opaques.h.
typedef void(* afw_service_wrapper_start_cb) (void *data, afw_xctx_t *xctx) |
Typedef for service wrapper start call back.
See afw_service.h for more information.
Definition at line 1779 of file afw_common.h.
typedef void(* afw_service_wrapper_stop_cb) (void *data, afw_xctx_t *xctx) |
Typedef for service wrapper stop call back.
See afw_service.h for more information.
Definition at line 1789 of file afw_common.h.
typedef struct afw_stack_s afw_stack_t |
Opaque typedef for afw_stack_t.
See afw_stack.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_stream_anchor_s afw_stream_anchor_t |
Typedef for stream anchor.
Struct defined in afw_stream.h.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_stream_s afw_stream_t |
Typedef for stream.
Struct defined in afw_stream.h.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_thread_mutex_s afw_thread_mutex_t |
Opaque typedef for afw_thread_mutex_t.
See afw_thread.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_thread_s afw_thread_t |
Opaque typedef for afw_thread_t.
See afw_thread.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_time_with_offset_s afw_time_with_offset_t |
Time with offset (old)
This typedef is used when time needs to be local time and a UTC offset instead of UTC time.
Opaque typedef for afw_try_t.
See afw_error.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef int(* afw_utf8_octet_get_cb_t) (afw_utf8_octet_t *octet, void *data, afw_xctx_t *xctx) |
Get an utf-8 octet (8 bits).
octet | cursor. |
data | from provider of callback. |
xctx | of caller to callback |
Definition at line 255 of file afw_common.h.
typedef char afw_utf8_octet_t |
8 bits of utf-8 codepoint.
This is one 8-bit octet of a UTF-8 encoded character.
Sting literals in c are "char *" and "NUL terminated strings" are often declared as "char *". Because of this, afw_utf8_octet_t is also "char" to avoid "differ in signedness" warnings when compiled using gcc with CFLAGS -Werror=pointer-sign active.
Depending on the compiler, "char" can be considered signed or unsigned so avoid using comparisons like (>= 0) to determine if an octet is ASCII. Even specifying "signed char" or "unsigned char" instead of "char" in gcc can cause "differ in signedness" warnings.
First | Last | | | |
code point | code point | Octet 1 | Octet 2 | Octet 3 | Octet 4 |
---|---|---|---|---|---|
U+0000 | U+007F | 0xxxxxxx | - | - | - |
U+0080 | U+07FF | 110xxxxx | 10xxxxxx | - | - |
U+0800 | U+FFFF | 1110xxxx | 10xxxxxx | 10xxxxxx | - |
U+10000 | U+10FFFF | 11110xxx | 10xxxxxx | 10xxxxxx | 10xxxxxx |
Definition at line 236 of file afw_common.h.
typedef struct afw_utf8_stack_s afw_utf8_stack_t |
Opaque typedef for afw_const_utf8_stack_t.
See afw_common.h for AFW_STACK_STRUCT() and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_utf8_s afw_utf8_t |
NFC normalized UTF-8 string.
IMPORTANT: This must match up with afw_utf8_t since it is accepted to cast from afw_utf8_t to afw_memory_t. Don't cast the other way around unless you are positive ptr point to NFC Unicode – use afw_utf8_from_raw() instead.
All UTF-8 strings MUST be NFC normalized. Doing otherwise can cause unintended minor or major errors.
See RFC 5198 and http://unicode.org/reports/tr15/
This string is not null terminated, so it can contain NUL characters. The number of bytes in the sting is stored in len and a pointer to the first byte in s.
typedef afw_utf8_octet_t afw_utf8_z_t |
NFC normalized UTF-8 null terminated string.
All UTF-8 strings MUST be NFC normalized. Doing otherwise can cause unintended minor or major errors.
Use the afw_utf8_z_create* functions in afw_utf8.h or an ascii literal.
If 0x00 must be represented in a string, use afw_utf8_t instead.
Definition at line 523 of file afw_common.h.
typedef struct afw_value_annotated_s afw_value_annotated_t |
Opaque typedef for afw_value_annotated_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_assignment_s afw_value_assignment_t |
Opaque typedef for afw_value_assignment_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_assignment_target_s afw_value_assignment_target_t |
Opaque typedef for afw_value_assignment_target_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_block_frame_s afw_value_block_frame_t |
Opaque typedef for afw_value_block_frame_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_block_symbol_s afw_value_block_symbol_t |
Opaque typedef for afw_value_block_symbol_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_block_s afw_value_block_t |
Opaque typedef for afw_value_block_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_call_args_s afw_value_call_args_t |
Opaque typedef for afw_value_call_args_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_call_built_in_function_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_call_s afw_value_call_t |
Opaque typedef for afw_value_call_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef afw_boolean_t(* afw_value_cb_t) (const void *value, void *context, afw_xctx_t *xctx) |
Typedef for value callback.
value | void pointer or NULL. |
context | supplied with callback |
xctx | of caller |
Definition at line 1189 of file afw_common.h.
typedef struct afw_value_internal_compiled_value_s afw_value_compiled_value_t |
Opaque typedef for afw_value_compiled_value_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_compiler_listing_s afw_value_compiler_listing_t |
Opaque typedef for afw_value_compiler_listing_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_evaluated_s afw_value_evaluated_t |
Opaque typedef for afw_value_evaluated_t.
See afw_value.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_expression_definition_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_function_definition_s afw_value_function_definition_t |
Opaque typedef for afw_value_function_definition_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_function_parameter_s afw_value_function_parameter_t |
Opaque typedef for afw_value_function_parameter_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_function_thunk_s afw_value_function_thunk_t |
Opaque typedef for afw_value_function_thunk_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_info_s afw_value_info_t |
Opaque typedef for afw_value_info_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_list_expression_s afw_value_list_expression_t |
Opaque typedef for afw_value_list_expression_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_object_expression_s afw_value_object_expression_t |
Opaque typedef for afw_value_object_expression_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_qualified_variable_reference_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_reference_by_key_s afw_value_reference_by_key_t |
Opaque typedef for afw_value_reference_by_key_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_script_function_definition_t.
See afw_value.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_script_function_parameter_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
Opaque typedef for afw_value_script_function_signature_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_template_definition_s afw_value_template_definition_t |
Opaque typedef for afw_value_template_definition_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_type_list_s afw_value_type_list_t |
Opaque typedef for afw_value_type_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_type_s afw_value_type_t |
Opaque typedef for afw_value_type_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_value_variable_reference_s afw_value_variable_reference_t |
Opaque typedef for afw_value_variable_reference_t.
See afw_value_internal.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef afw_size_t(* afw_write_cb_t) (void *context, const void *buffer, afw_size_t size, const afw_pool_t *p, afw_xctx_t *xctx) |
Typedef for write callback function.
context | supplied with callback |
buffer | containing bytes to written. |
size | is the number of bytes to write. |
p | is pool to use if resources are needed. |
xctx | of caller. |
Definition at line 1225 of file afw_common.h.
Opaque typedef for afw_xctx_evaluation_stack_entry_t.
See afw_common.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_xctx_evaluation_stack_s afw_xctx_evaluation_stack_t |
Opaque typedef for afw_xctx_evaluation_stack_t.
See afw_common.h for struct and more information.
Definition at line 1 of file afw_common_opaques.h.
typedef const afw_value_t*(* afw_xctx_get_variable_t) (const afw_xctx_qualifier_stack_entry_t *entry, const afw_utf8_t *name, afw_xctx_t *xctx) |
Typedef for function to get a qualified variable.
entry | Qualifier stack entry. |
name | Name of variable. |
xctx | of caller. |
The stack is searched from newest to oldest.
Definition at line 968 of file afw_common.h.
typedef struct afw_xctx_qualifier_stack_entry_s afw_xctx_qualifier_stack_entry_t |
Typedef for xctx qualifier stack entry.
Struct defined in afw_xctx.h.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_xctx_internal_qualifier_stack_s afw_xctx_qualifier_stack_t |
Typedef for xctx qualifier stack.
Struct defined in afw_xctx_internal.h.
Definition at line 1 of file afw_common_opaques.h.
typedef struct afw_yearMonthDuration_s afw_yearMonthDuration_t |
yearMonth duration
If negative duration all members will/MUST be negative or zero.
Typedef for afw_adaptor_journal get_entry options enum.
The options use zero of more of these parameters:
parameter | description |
---|---|
entry_cursor | The objectId of a journal entry. |
consumer_id | The objectId of an AdaptiveProvisioningPeer object. |
limit | The maximum number of entries that will be scanned for an entry where the consumerFilter expression in the associated AdaptiveProvisioningPeer object evaluates to true. |
Depending on option, get_entry() sets zero or more of these properties in the response:
property | description |
---|---|
entry | If a journal entry is retrieved, get_entry() will set this Object property to the entry. If the option is a "get next" option and there are no applicable entries to return, this property will remain unset. |
entryCursor | If a journal entry is retrieved, get_entry() will set this Sting property to its objectId, also know as its entryCursor. |
reissue | If the object retrieved is a reissue of one previously retrieved, this Boolean property will be set to true. |
Definition at line 1026 of file afw_common.h.
enum afw_error_code_e |
Adaptive Framework error codes enum.
Definition at line 927 of file afw_common.h.
enum afw_log_priority_e |
Log levels. See afw_log.h for more information.
Definition at line 976 of file afw_common.h.
Typedef for service startup type enum.
This is used by the afw_service interface definition. See afw_service.h for more information.
Definition at line 1311 of file afw_common.h.
enum afw_service_status_e |
Typedef for service status enum.
This is used by the afw_service interface definition. See afw_service.h for more information.
Definition at line 1337 of file afw_common.h.