diff options
Diffstat (limited to 'include/libbio.h')
-rw-r--r-- | include/libbio.h | 19 |
1 files changed, 9 insertions, 10 deletions
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); |