9 #ifndef __AFW_ADAPTOR_INTERNAL_H__
10 #define __AFW_ADAPTOR_INTERNAL_H__
34 #define AFW_ADAPTOR_SCOPE_INTERNAL(xctx) \
35 ((xctx)->adaptor_xctx_internal \
36 ? (xctx)->adaptor_xctx_internal \
37 : ((xctx)->adaptor_xctx_internal = \
38 afw_xctx_calloc_type(afw_adaptor_xctx_internal_t, xctx)))
43 apr_hash_t *object_types_ht;
48 apr_hash_t *session_cache;
49 apr_array_header_t *transactions;
62 void * original_context;
79 afw_adaptor_internal_get_cache(
afw_xctx_t *xctx);
104 afw_adaptor_internal_journal_prologue(
153 afw_adaptor_internal_register_service_type(
afw_xctx_t *xctx);
163 afw_adaptor_internal_register_afw_adaptor(
afw_xctx_t *xctx);
173 afw_adaptor_internal_conf_type_create_cede_p(
#define AFW_BEGIN_DECLARES
Interfaceafw_interface header.
const afw_object_t * afw_adaptor_internal_journal_get_entry(const afw_adaptor_session_t *session, const afw_utf8_t *object_id, const afw_object_t *journal_entry, afw_xctx_t *xctx)
struct afw_adaptor_internal_transaction_s afw_adaptor_internal_transaction_t
Adaptor id and associated transaction.
void afw_adaptor_internal_journal_epilogue(const afw_adaptor_session_t *session, const afw_object_t *journal_entry, afw_boolean_t modification, afw_xctx_t *xctx)
void afw_adaptor_internal_process_object_from_adaptor(const afw_object_t **adapted_object, const afw_object_t **view, afw_adaptor_internal_object_cb_context_t *ctx, const afw_object_t *object, const afw_pool_t *p, afw_xctx_t *xctx)
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.
Internal struct used by common adaptor code for all adaptors.
Adaptor id and associated transaction.
Interface afw_adaptor_session public struct.
Interface afw_adaptor_transaction public struct.
Struct for object processing options.
Interface afw_object public struct.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_xctx public struct.