From 8788b9b33ec46e3f96170fb35a70a03addbf9671 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Wed, 10 Mar 2021 15:04:13 +0200 Subject: refactor && improve. Make code more reusable and generic while preparing to add uncached ops. Signed-off-by: Gediminas Jakutis --- src/defs.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/defs.h') diff --git a/src/defs.h b/src/defs.h index 20621ef..522eed4 100644 --- a/src/defs.h +++ b/src/defs.h @@ -140,10 +140,8 @@ struct stream { struct entry_l *cnode; /* "current" node */ union cachewrap; struct settings *settings; - struct entry_l *(*get)(struct stream * const); + struct entry_l *(*get)(struct stream * const, struct entry_l * const); int (*put)(struct stream * const, struct entry_l const * const); - int (*split)(struct stream * const, struct stream * const, struct stream * const); - int (*rewind)(struct stream * restrict const); int (*copy)(struct stream * restrict const, struct stream * restrict const); }; -- cgit v1.2.3