Adaptive Framework  0.9.0
All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions | Variables
afw_content_type.h File Reference

Header Adaptive Framework afw_content_type interface support. More...

#include "afw_interface.h"

Go to the source code of this file.

Macros

#define afw_content_type_object_to_raw(instance, object, options, p, xctx)
 Convert object to the raw in specified pool. More...
 
#define afw_content_type_is_application_afw(instance)   ((instance) && (instance)->inf == &afw_content_type_application_afw_inf)
 Determine if content type it application/x-afw. More...
 

Functions

afw_utf8_tafw_content_type_x_to_utf8_with_options (const afw_content_type_t *instance, const afw_value_t *value, const afw_object_options_t *options, afw_xctx_t *xctx)
 
const afw_value_tafw_content_type_x_to_object_value_with_ids (const afw_content_type_t *instance, const afw_utf8_t *string, const afw_utf8_t *adaptor_id, const afw_utf8_t *object_type_id, const afw_utf8_t *object_id, afw_xctx_t *xctx)
 
void 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. More...
 
const afw_memory_tafw_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. More...
 
const afw_stream_tafw_content_type_application_afw_stream_create (const afw_stream_t *response_stream, const afw_utf8_t *streamId, const afw_utf8_t *info, const afw_pool_t *p, afw_xctx_t *xctx)
 Create a stream for content type application/afw. More...
 

Variables

 afw_content_type_application_afw_inf
 application/x-afw content type inf.
 

Detailed Description

Header Adaptive Framework afw_content_type interface support.

Definition in file afw_content_type.h.