Skip to content
Snippets Groups Projects
Commit ac4f30f3 authored by Petr Danecek's avatar Petr Danecek
Browse files

vcf: Expose bcf_hdr_sync() and hrec_add_idx()

parent 5498c0a4
Branches
Tags 0.2.0-rc10
No related merge requests found
......@@ -410,6 +410,7 @@ extern "C" {
/** The following functions are for internal use and should rarely be called directly */
int bcf_hdr_parse(bcf_hdr_t *hdr, char *htxt);
int bcf_hdr_sync(bcf_hdr_t *h);
bcf_hrec_t *bcf_hdr_parse_line(const bcf_hdr_t *h, const char *line, int *len);
void bcf_hrec_format(const bcf_hrec_t *hrec, kstring_t *str);
int bcf_hdr_add_hrec(bcf_hdr_t *hdr, bcf_hrec_t *hrec);
......@@ -418,6 +419,7 @@ extern "C" {
void bcf_hrec_add_key(bcf_hrec_t *hrec, const char *str, int len);
void bcf_hrec_set_val(bcf_hrec_t *hrec, int i, const char *str, int len, int is_quoted);
int bcf_hrec_find_key(bcf_hrec_t *hrec, const char *key);
void hrec_add_idx(bcf_hrec_t *hrec, int idx);
void bcf_hrec_destroy(bcf_hrec_t *hrec);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment