summaryrefslogtreecommitdiffstats
path: root/src/defs.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/defs.h')
-rw-r--r--src/defs.h4
1 files changed, 2 insertions, 2 deletions
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 */