summaryrefslogtreecommitdiff
path: root/src/piece-table.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/piece-table.h')
-rw-r--r--src/piece-table.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/piece-table.h b/src/piece-table.h
index c053069..8a13ae3 100644
--- a/src/piece-table.h
+++ b/src/piece-table.h
@@ -22,11 +22,13 @@ typedef struct {
size_t cached_offset;
} piece_table;
-bool init_piece_table(piece_table *pt, char *orig);
+void init_piece_table(piece_table *pt, char *orig);
void free_piece_table(piece_table *pt);
char index_piece_table(piece_table *pt, size_t pos);
void insert_piece_table(piece_table *pt, char val, size_t pos);
void delete_piece_table(piece_table *pt, size_t pos, size_t len);
+void print_piece_table(piece_table *pt);
+
#endif // PIECE_TABLE_H