From 61c3a9aa7a636ada2cedd5b6025d5c7ccc598c85 Mon Sep 17 00:00:00 2001 From: Gediminas Jakutis Date: Tue, 10 Mar 2020 10:15:53 +0200 Subject: bolt on data generation, kind of. Signed-off-by: Gediminas Jakutis --- src/datagen.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/datagen.h') diff --git a/src/datagen.h b/src/datagen.h index 7e753ab..63b3461 100644 --- a/src/datagen.h +++ b/src/datagen.h @@ -1,8 +1,14 @@ +/* SPDX-License-Identifier: LGPL-2.1-only */ + +/* Copyright (C) 2020 Gediminas Jakutis */ + #ifndef ALGOS_DATAGEN_H_INCLUDED #define ALGOS_DATAGEN_H_INCLUDED #include "defs.h" -int gen_get(struct stream *in, size_t idx, struct entry_l *data, int tag); +int gen_get_array(struct stream * const restrict in, ssize_t idx, struct entry_l * const data); +int gen_get_list(struct stream * const restrict in, ssize_t idx, struct entry_l * const data); +int gen_put(struct stream * const restrict in, ssize_t idx, const struct entry_l * const data); #endif /* ALGOS_DATAGEN_H_INCLUDED */ -- cgit v1.2.3