diff options
author | Andrew Shadura <andrewsh@debian.org> | 2015-11-22 21:25:49 +0100 |
---|---|---|
committer | Andrew Shadura <andrewsh@debian.org> | 2015-11-22 21:25:49 +0100 |
commit | 6e7205c8f65c8bc03af8619c04b7179218eb1520 (patch) | |
tree | 0957dfac7dbf4a5a39adfe2777666037b7bdd0f3 /templates/wrapper_table |
pseudo (1.7.4-1) unstable; urgency=low
* Initial release (Closes: #796973).
# imported from the archive
Diffstat (limited to 'templates/wrapper_table')
-rw-r--r-- | templates/wrapper_table | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/templates/wrapper_table b/templates/wrapper_table new file mode 100644 index 0000000..bb30530 --- /dev/null +++ b/templates/wrapper_table @@ -0,0 +1,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 }, +}; |