aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapper_table
blob: 498ca81aa6406b35475212956b61897441a36fb8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
@name pseudo_wrapper_table.c
@header
/* The table of wrapper functions to populate */

/* This file is generated and should not be modified.  See the makewrappers
 * script if you want to modify this. */
typedef struct {
	char *name;		/* the name */
	void (**real)(void);	/* the underlying syscall */
	void (*wrapper)(void);	/* the wrapper from guts/name.c */
	char *version;		/* the version, if we know and care */
} pseudo_function;

static pseudo_function pseudo_functions[] = {
@body
	{ /* ${comment}; */
		"${name}${maybe_inode64}",
		(void (**)(void)) &real_${name},
		(void (*)(void)) wrap_${name},
		${version}
	},
@footer
	{ NULL, NULL, NULL, NULL },
};