28 &content_type->content_type_id, content_type,
32 for (count = content_type->media_type_count,
33 media_type = content_type->media_types;
35 count--, media_type++)
58 writer->context, writer->callback, p, xctx);
AFW_DEFINE(const afw_object_t *)
Adaptive Framework Core Internal.
apr_size_t afw_size_t
size_t.
#define afw_content_type_write_value(instance, value, options, context, callback, p, xctx)
Call method write_value of interface afw_content_type.
afw_content_type_value_to_raw(const afw_content_type_t *instance, const afw_value_t *value, const afw_object_options_t *options, const afw_pool_t *p, afw_xctx_t *xctx)
Convert value to the raw in specified pool.
afw_content_type_register(const afw_content_type_t *content_type, afw_xctx_t *xctx)
Register content type with its id and all of its media types.
void afw_environment_register_content_type(const afw_utf8_t *type, const afw_content_type_t *content_type, afw_xctx_t *xctx)
Register an content type.
afw_memory_writer_retrieve_and_release(const afw_memory_writer_t *writer, afw_xctx_t *xctx)
Retrieve memory as one chunk from memory writer and release writer.
afw_memory_create_writer(const afw_pool_t *p, afw_xctx_t *xctx)
Create a memory writer.
Interface afw_content_type public struct.
Struct for memory pointer and size.
Return value from afw_memory_create_writer().
Struct for object processing options.
Interface afw_pool public struct.
NFC normalized UTF-8 string.
Interface afw_value public struct.
Interface afw_xctx public struct.