9 #ifndef __AFW_ADAPTOR_H__
10 #define __AFW_ADAPTOR_H__
Adaptive Framework adaptor add object.
Adaptive Framework adaptor delete object.
Adaptive Framework adaptor get object.
Adaptive Framework adaptor journal.
Adaptive Framework adaptor modify object.
Adaptive Framework adaptor replace object.
Adaptive Framework adaptor retrieve objects.
#define AFW_BEGIN_DECLARES
#define AFW_DECLARE(type)
Declare a public afw function.
Interfaceafw_interface header.
void afw_adaptor_session_release(const afw_adaptor_session_t *session, afw_xctx_t *xctx)
Release an adaptor session created by afw_adaptor_session_create().
const afw_adaptor_session_t * afw_adaptor_session_create(const afw_utf8_t *adaptor_id, afw_xctx_t *xctx)
Create an adaptor session.
void afw_adaptor_context_prepare(const afw_adaptor_t *adaptor, const afw_pool_t *p, afw_xctx_t *xctx)
Prepare expression evaluation context for adaptor::.
void afw_adaptor_release(const afw_adaptor_t *adaptor, afw_xctx_t *xctx)
Release an adaptor accessed by afw_adaptor_get_reference().
const afw_adaptor_session_t * afw_adaptor_session_get_cached(const afw_utf8_t *adaptor_id, afw_boolean_t begin_transaction, afw_xctx_t *xctx)
Get/create an active cached session for adaptor_id.
void afw_adaptor_session_commit_and_release_cache(afw_boolean_t abort, afw_xctx_t *xctx)
Commit/Abort changes and release cached sessions and objects.
const afw_query_criteria_t * afw_adaptor_query_criteria_parse_object(const afw_object_t *query_criteria, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_object_t *journal_entry, const afw_pool_t *p, afw_xctx_t *xctx)
Parse query criteria object appropriate for an adaptor.
const afw_adaptor_t * afw_adaptor_get_reference(const afw_utf8_t *adaptor_id, afw_xctx_t *xctx)
Get an adaptor and make sure it is started.
const afw_query_criteria_t * afw_adaptor_query_criteria_parse_url_encoded_rql_string(const afw_utf8_t *url_encoded_rql_string, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_object_t *journal_entry, const afw_pool_t *p, afw_xctx_t *xctx)
Parse URL encoded RQL query string appropriate for an adaptor.
apr_int64_t afw_integer_t
typedef for big signed int.
const afw_utf8_t * service_id
Associated service id or NULL.
afw_integer_t reference_count
Reference count for this instance of adaptor.
const afw_utf8_t * adaptor_type_id
Adaptor type id.
const afw_adaptor_t * adaptor
Adaptor instance or NULL.
const afw_object_t * properties
Associated properties.
const afw_utf8_t * adaptor_id
Adaptor id.
afw_adaptor_id_anchor_t * stopping
First/next stopping adaptor or NULL.
Interface afw_adaptor public struct.
Interface afw_adaptor_session public struct.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_xctx public struct.