1 #ifndef VIENNA_RNA_PACKAGE_CHAR_STREAM_H 2 #define VIENNA_RNA_PACKAGE_CHAR_STREAM_H 19 typedef struct vrna_cstr_s *vrna_cstr_t;
22 vrna_cstr(
size_t size,
27 vrna_cstr_free(vrna_cstr_t buf);
31 vrna_cstr_close(vrna_cstr_t buf);
35 vrna_cstr_fflush(
struct vrna_cstr_s *buf);
39 vrna_cstr_string(vrna_cstr_t buf);
43 vrna_cstr_vprintf(vrna_cstr_t buf,
49 vrna_cstr_printf(vrna_cstr_t buf,
55 vrna_cstr_message_info(vrna_cstr_t buf,
61 vrna_cstr_message_vinfo(vrna_cstr_t buf,
67 vrna_cstr_message_warning(
struct vrna_cstr_s *buf,
73 vrna_cstr_message_vwarning(
struct vrna_cstr_s *buf,
79 vrna_cstr_print_fasta_header(vrna_cstr_t buf,
84 vrna_cstr_printf_structure(
struct vrna_cstr_s *buf,
85 const char *structure,
91 vrna_cstr_vprintf_structure(
struct vrna_cstr_s *buf,
92 const char *structure,
98 vrna_cstr_printf_comment(
struct vrna_cstr_s *buf,
104 vrna_cstr_vprintf_comment(
struct vrna_cstr_s *buf,
110 vrna_cstr_printf_thead(
struct vrna_cstr_s *buf,
116 vrna_cstr_vprintf_thead(
struct vrna_cstr_s *buf,
122 vrna_cstr_printf_tbody(
struct vrna_cstr_s *buf,
128 vrna_cstr_vprintf_tbody(
struct vrna_cstr_s *buf,
134 vrna_cstr_print_eval_sd_corr(
struct vrna_cstr_s *buf);
138 vrna_cstr_print_eval_ext_loop(
struct vrna_cstr_s *buf,
143 vrna_cstr_print_eval_hp_loop(
struct vrna_cstr_s *buf,
152 vrna_cstr_print_eval_hp_loop_revert(
struct vrna_cstr_s *buf,
161 vrna_cstr_print_eval_int_loop(
struct vrna_cstr_s *buf,
174 vrna_cstr_print_eval_int_loop_revert(
struct vrna_cstr_s *buf,
187 vrna_cstr_print_eval_mb_loop(
struct vrna_cstr_s *buf,
196 vrna_cstr_print_eval_mb_loop_revert(
struct vrna_cstr_s *buf,
205 vrna_cstr_print_eval_gquad(
struct vrna_cstr_s *buf,