From b6fe7f8d9ade5e1b665bcf2cddb145fd2e0fde57 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Mon, 2 Mar 2020 21:18:32 +0200 Subject: implement get/put wrappers. Signed-off-by: Gediminas Jakutis --- src/defs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/defs.h') diff --git a/src/defs.h b/src/defs.h index b06e181..e6f1823 100644 --- a/src/defs.h +++ b/src/defs.h @@ -29,6 +29,8 @@ struct stream { int fd; int out; char *name; + int (*get)(struct stream *, size_t, struct entry_l *, int); + int (*put)(struct stream *, size_t, struct entry_l *, int); }; struct settings { @@ -39,8 +41,6 @@ struct settings { char *fileout; unsigned int flags; enum opmode opmode; - int (*get)(struct stream, size_t, struct entry_l *, int); - int (*put)(struct stream, size_t, struct entry_l *, int); }; #endif /* ALGOS_DEFS_H_INCLUDED */ -- cgit v1.2.3