aboutsummaryrefslogtreecommitdiff
path: root/inc/target.h
blob: 91966376d951de299dcd1514c725566c2885e0ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright (c) 2024, Marvin Borner <dev@marvinborner.de>
// SPDX-License-Identifier: MIT

#ifndef BLOCADE_TARGET_H
#define BLOCADE_TARGET_H

#include <stdio.h>

#include <parse.h>

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