X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=src%2Fparse.h;h=6224ab8d07368e735cfcb7d504ea67da05994b6e;hb=a7a328a691ab370ed7fd61c9c04af9def02395d5;hp=8500f0c832fc1fb6c7460afdaa0d7ee05ce4d891;hpb=d6b81119e55cf77c1e4c17b9e9026abc01e22b96;p=fastq-tools.git diff --git a/src/parse.h b/src/parse.h index 8500f0c..6224ab8 100644 --- a/src/parse.h +++ b/src/parse.h @@ -69,6 +69,13 @@ void fastq_free(fastq_t*); bool fastq_read(fastq_t* f, seq_t* seq); +/* Rewind the fastq file. + * + * The FILE passed to fastq_create must be seekable for this to work. + */ +void fastq_rewind(fastq_t* f); + + /* Print a fastq entry. */ void fastq_print(FILE* fout, const seq_t* seq);