From b754e71ca502a5027ea3479eb3ea1a0ac28e5282 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 17 Jan 2024 00:59:12 +0100 Subject: Initial commit --- inc/target.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 inc/target.h (limited to 'inc/target.h') diff --git a/inc/target.h b/inc/target.h new file mode 100644 index 0000000..9196637 --- /dev/null +++ b/inc/target.h @@ -0,0 +1,18 @@ +// Copyright (c) 2024, Marvin Borner +// SPDX-License-Identifier: MIT + +#ifndef BLOCADE_TARGET_H +#define BLOCADE_TARGET_H + +#include + +#include + +struct target_spec { + const char *name; + void (*exec)(struct bloc_parsed *bloc, FILE *file); +}; + +void exec_target(char *name, struct bloc_parsed *bloc, FILE *file); + +#endif -- cgit v1.2.3