#define FASTQ_TOOLS_PARSE_H
#include <stdbool.h>
+#include <stdint.h>
#include <stdlib.h>
/* A string structure to keep-track of a reserved space. */
void seq_free(seq_t* seq);
+/* Hash a fastq entry. */
+uint32_t seq_hash(const seq_t* seq);
+
+
/* Internal data for the fastq parser. */
typedef struct fastq_t_ 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);