1#ifndef VIENNA_RNA_PACKAGE_CHAR_STREAM_H
2#define VIENNA_RNA_PACKAGE_CHAR_STREAM_H
20typedef struct vrna_cstr_s *vrna_cstr_t;
93vrna_cstr_string(vrna_cstr_t buf);
97vrna_cstr_vprintf(vrna_cstr_t buf,
103vrna_cstr_printf(vrna_cstr_t buf,
109vrna_cstr_message_info(vrna_cstr_t buf,
115vrna_cstr_message_vinfo(vrna_cstr_t buf,
121vrna_cstr_message_warning(
struct vrna_cstr_s *buf,
127vrna_cstr_message_vwarning(
struct vrna_cstr_s *buf,
133vrna_cstr_print_fasta_header(vrna_cstr_t buf,
138vrna_cstr_printf_structure(
struct vrna_cstr_s *buf,
139 const char *structure,
145vrna_cstr_vprintf_structure(
struct vrna_cstr_s *buf,
146 const char *structure,
152vrna_cstr_printf_comment(
struct vrna_cstr_s *buf,
158vrna_cstr_vprintf_comment(
struct vrna_cstr_s *buf,
164vrna_cstr_printf_thead(
struct vrna_cstr_s *buf,
170vrna_cstr_vprintf_thead(
struct vrna_cstr_s *buf,
176vrna_cstr_printf_tbody(
struct vrna_cstr_s *buf,
182vrna_cstr_vprintf_tbody(
struct vrna_cstr_s *buf,
188vrna_cstr_print_eval_sd_corr(
struct vrna_cstr_s *buf);
192vrna_cstr_print_eval_ext_loop(
struct vrna_cstr_s *buf,
197vrna_cstr_print_eval_hp_loop(
struct vrna_cstr_s *buf,
206vrna_cstr_print_eval_hp_loop_revert(
struct vrna_cstr_s *buf,
215vrna_cstr_print_eval_int_loop(
struct vrna_cstr_s *buf,
228vrna_cstr_print_eval_int_loop_revert(
struct vrna_cstr_s *buf,
241vrna_cstr_print_eval_mb_loop(
struct vrna_cstr_s *buf,
250vrna_cstr_print_eval_mb_loop_revert(
struct vrna_cstr_s *buf,
259vrna_cstr_print_eval_gquad(
struct vrna_cstr_s *buf,
void vrna_cstr_close(vrna_cstr_t buf)
Free the memory occupied by a dynamic char * stream and close the output stream.
void vrna_cstr_free(vrna_cstr_t buf)
Free the memory occupied by a dynamic char * stream data structure.
void vrna_cstr_fflush(struct vrna_cstr_s *buf)
Flush the dynamic char * output stream.
void vrna_cstr_discard(struct vrna_cstr_s *buf)
Discard the current content of the dynamic char * stream data structure.
vrna_cstr_t vrna_cstr(size_t size, FILE *output)
Create a dynamic char * stream data structure.