From c0a7b53baf2a6e7bf9bc1fbec7ac05e43ac59154 Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Wed, 8 Sep 2021 15:51:40 -0700 Subject: checkin --- include/libbio.h | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) (limited to 'include/libbio.h') diff --git a/include/libbio.h b/include/libbio.h index 558c163..b3d0426 100644 --- a/include/libbio.h +++ b/include/libbio.h @@ -5,15 +5,12 @@ typedef struct bio·Node { - string name; - string comment; - double dist; - double support; - int nnode; - int nchild; - struct bio·Node *parent; - struct bio·Node *sibling; - struct bio·Node *child; + string name, comment; + double dist, support; + int nnode, nchild; + struct bio·Node *parent, *sibling, *child; + + void *data; } bio·Node; typedef struct bio·Tree @@ -53,7 +50,6 @@ error bio·writenewick(bio·Tree tree, io·Putter out, void*); /* i/o */ typedef struct bio·SeqReader bio·SeqReader; -typedef struct bio·SeqWriter bio·SeqWriter; typedef struct bio·Seq { @@ -68,3 +64,6 @@ error bio·closeseq(bio·SeqReader *rdr); error bio·readfasta(bio·SeqReader *rdr, bio·Seq *seq); error bio·readfastq(bio·SeqReader *rdr, bio·Seq *seq); + +error bio·writefasta(io·Writer io, void *wtr, bio·Seq seq); +error bio·writefastq(io·Writer io, void *wtr, bio·Seq seq); -- cgit v1.2.1