|
Adaptive Framework
0.9.0
|
Adaptive framework environment. More...
#include "afw_internal.h"#include "afw_config.h"#include <apr_hash.h>#include <apr_dso.h>#include <libxml/xmlversion.h>Go to the source code of this file.
Data Structures | |
| struct | impl_check_manifest_cb_context_t |
| struct | impl_registry_type_entry_t |
Macros | |
| #define | XX(id, register_additional, allow_reregister, property_name, object_type_id, description) |
Functions | |
| afw_environment_create (unsigned int version, int argc, const char *const *argv, const afw_error_t **environment_create_error) | |
| Create the Adaptive Framework core environment and return base xctx. More... | |
| afw_environment_release (afw_xctx_t *xctx) | |
| Create the Adaptive Framework core environment and return base xctx. More... | |
| afw_environment_create_registry_type (const afw_utf8_t *registry_type_id, const afw_utf8_t *property_name, const afw_utf8_t *object_type_id, const afw_utf8_t *description, afw_boolean_t allow_reregister, afw_environment_auto_register_cb_t auto_register, afw_environment_register_additional_cb_t register_additional, void *register_additional_param, afw_xctx_t *xctx) | |
| Create a new registry type. More... | |
| const afw_environment_registry_type_t * | afw_environment_get_registry_type_by_id (const afw_utf8_t *registry_type_id, afw_boolean_t load_extension, afw_xctx_t *xctx) |
| Get the registry type associated with a registry type id. More... | |
| afw_environment_get_registry_type_by_number (int registry_type_number, afw_xctx_t *xctx) | |
| Get the registry type associated with a registry type number. More... | |
| afw_environment_registry_register (int type_number, const afw_utf8_t *key, const void *value, afw_xctx_t *xctx) | |
| Register a value by key for a registry type. More... | |
| afw_environment_registry_key_exists (int type_number, const afw_utf8_t *key, afw_xctx_t *xctx) | |
| Check to see if a key exists. More... | |
| afw_environment_registry_get (int type_number, const afw_utf8_t *key, afw_xctx_t *xctx) | |
| Get the value associated with a key for a registry type. More... | |
| afw_environment_registry_get_xctxless (const afw_environment_t *env, int type_number, const afw_utf8_t *key) | |
| afw_environment_foreach (int type_number, afw_environment_foreach_cb_t callback, void *data, const afw_pool_t *p, afw_xctx_t *xctx) | |
| Call a callback function for each entry of a registry type. More... | |
| afw_environment_create_and_register_conf_type (const afw_utf8_t *conf_type_id, afw_environment_conf_type_create_cede_p_t create, const afw_utf8_t *title, const afw_utf8_t *description, const afw_utf8_t *id_property_name, const afw_utf8_t *id_registry_type_id, const afw_utf8_t *id_runtime_object_type_id, const afw_utf8_t *subtype_property_name, const afw_utf8_t *subtype_registry_type_id, const afw_utf8_t *subtype_runtime_object_type_id, afw_boolean_t is_unique, afw_xctx_t *xctx) | |
| Create and register a configuration (conf) type. More... | |
| afw_environment_load_extension (const afw_utf8_t *extension_id, const afw_utf8_t *module_path, const afw_object_t *properties, afw_xctx_t *xctx) | |
| Load and initialize environment extension. More... | |
| afw_environment_register_data_type (const afw_utf8_t *data_type_id, const afw_data_type_t *data_type, afw_xctx_t *xctx) | |
| Register a data type. More... | |
| afw_environment_register_function (const afw_utf8_t *function_id, const afw_value_function_definition_t *function, afw_xctx_t *xctx) | |
| Register a function. More... | |
| afw_environment_get_qualified_function (const afw_utf8_t *qualifier, const afw_utf8_t *name, afw_xctx_t *xctx) | |
| Get the qualified function instance. More... | |
| afw_environment_registry_get_data_type_method (const afw_data_type_t *data_type, afw_integer_t dataTypeMethodNumber, afw_xctx_t *xctx) | |
| Get the function associated with a data type method. More... | |
| afw_environment_register_data_types (const afw_data_type_t *const *data_types, afw_xctx_t *xctx) | |
| Register a NULL terminated list of data types. More... | |
| afw_environment_register_functions (const afw_value_function_definition_t **functions, afw_xctx_t *xctx) | |
| Register a NULL terminated list of functions. More... | |
| afw_environment_register_adaptor_type (const afw_utf8_t *adaptor_type, const afw_adaptor_factory_t *adaptor_factory, afw_xctx_t *xctx) | |
| Register an adaptor factory. More... | |
| afw_environment_register_authorization_handler_type (const afw_utf8_t *authorization_handler_type, const afw_authorization_handler_factory_t *authorization_handler_factory, afw_xctx_t *xctx) | |
| Register an authorization handler factory. More... | |
| afw_environment_set_debug_fd (FILE *fd, afw_xctx_t *xctx) | |
| Override fd used for debug. More... | |
| afw_environment_set_stderr_fd (FILE *fd, afw_xctx_t *xctx) | |
| Override fd used for stderr. More... | |
| afw_environment_set_stdout_fd (FILE *fd, afw_xctx_t *xctx) | |
| Override fd used for stdout. More... | |
Adaptive framework environment.
Definition in file afw_environment.c.
| #define XX | ( | id, | |
| register_additional, | |||
| allow_reregister, | |||
| property_name, | |||
| object_type_id, | |||
| description | |||
| ) |