00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef CUFO_DSINK_H
00019 #define CUFO_DSINK_H
00020
00021 #include <cufo/fwd.h>
00022 #include <cutext/sink.h>
00023
00024 CU_BEGIN_DECLARATIONS
00025
00026
00027
00028 CU_SINLINE cu_bool_t
00029 cufo_sink_enter(cutext_sink_t sink, cufo_tag_t tag, cufo_attrbind_t attrbinds)
00030 { return (*sink->descriptor->enter)(sink, tag, attrbinds); }
00031
00032 CU_SINLINE void
00033 cufo_sink_leave(cutext_sink_t sink, cufo_tag_t tag)
00034 { (*sink->descriptor->leave)(sink, tag); }
00035
00036 cutext_sink_t cufo_sink_new_strip(cutext_sink_t subsink);
00037 cutext_sink_t cufo_sink_new_xml(cutext_sink_t subsink);
00038 cutext_sink_t cufo_sink_stack_buffer(cutext_sink_t subsink);
00039 cutext_sink_t cufo_sink_stack_iconv(char const *new_enc, cutext_sink_t subsink);
00040
00041
00042 CU_END_DECLARATIONS
00043
00044 #endif