]> git.donarmstrong.com Git - fastq-tools.git/blobdiff - src/parse.h
WIP on a fastq-sort program.
[fastq-tools.git] / src / parse.h
index 6224ab8d07368e735cfcb7d504ea67da05994b6e..4a0a0dded6d8668c03ad81e20400e60bec14ecfe 100644 (file)
@@ -12,6 +12,7 @@
 #define FASTQ_TOOLS_PARSE_H
 
 #include <stdbool.h>
+#include <stdint.h>
 #include <stdlib.h>
 
 /* A string structure to keep-track of a reserved space. */
@@ -41,6 +42,10 @@ seq_t* seq_create();
 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;