aboutsummaryrefslogtreecommitdiffstats
path: root/templates/wrapper_table
blob: bb30530494e93137e856ef608492bd7f803c99e1 (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 */
	int (**real)(void);	/* the underlying syscall */
	int (*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}",
		(int (**)(void)) &real_${name},
		(int (*)(void)) wrap_${name},
		${version}
	},
@footer
	{ NULL, NULL, NULL, NULL },
};