]> git.donarmstrong.com Git - fastq-tools.git/blobdiff - src/parse.h
Fix the weird output behavior of fastq-sample.
[fastq-tools.git] / src / parse.h
index 8500f0c832fc1fb6c7460afdaa0d7ee05ce4d891..6224ab8d07368e735cfcb7d504ea67da05994b6e 100644 (file)
@@ -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);