From 069009f8e39238ec1a67fba6cfb287b9a0cac83e Mon Sep 17 00:00:00 2001 From: Alice Frosi Date: Fri, 24 Mar 2023 10:07:48 +0100 Subject: Re-organize project and add license header --- src/cooker/calls.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/cooker/calls.h (limited to 'src/cooker/calls.h') diff --git a/src/cooker/calls.h b/src/cooker/calls.h new file mode 100644 index 0000000..5d46e14 --- /dev/null +++ b/src/cooker/calls.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-3.0-or-later + * Copyright 2023 Red Hat GmbH + * Author: Stefano Brivio + */ + +#ifndef CALLS_H +#define CALLS_H + +/** + * struct call - Description of one known system call + * @number: Number from __NR_ macros, architecture dependent + * @name: Name for use in recipes + * @args: NULL-terminated array of argument descriptions + */ +struct call { + long number; + const char *name; + struct arg *args; +}; + +extern struct call *call_sets[]; + +#endif /* CALLS_H */ -- cgit v1.2.3