From 29712a5098842ea3930ec00ddd1c0b9d264ba9b5 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Sun, 21 Feb 2021 13:16:54 +0200 Subject: in-memory array sorting: GET! lists need a bit more work and after that, in-file should shortly follow. Signed-off-by: Gediminas Jakutis --- src/cache.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/cache.h') diff --git a/src/cache.h b/src/cache.h index 63f5560..dc22836 100644 --- a/src/cache.h +++ b/src/cache.h @@ -19,6 +19,7 @@ int cache_block_copy(struct stream const * const src, struct stream * const dest int cache_list_copy(struct stream * const src, struct stream * const dest); int cache_block_split(struct stream * const src, struct stream * const A, struct stream * const B); int cache_list_split(struct stream * const src, struct stream * const A, struct stream * const B); +int cache_rewind(struct stream * const in); /* GET */ struct entry_l *cached_get_array(struct stream * const in); -- cgit v1.2.3