diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-09-11 14:38:47 +0900 |
| commit | 884c8093d63402a1ad0b502244b791e3c6782be3 (patch) | |
| tree | a600d4ab0d431a2bdfe4c15b70df43c14fbd8dd0 /debian/transcode/transcode-1.1.7/libtc/static_xio.h | |
| parent | 14e1aa2006796f147f3f4811fb908a6b01e79253 (diff) | |
| download | extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.tar.gz extra-dependencies-884c8093d63402a1ad0b502244b791e3c6782be3.zip | |
Added debian extra dependency packages.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/transcode/transcode-1.1.7/libtc/static_xio.h')
| -rw-r--r-- | debian/transcode/transcode-1.1.7/libtc/static_xio.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/transcode/transcode-1.1.7/libtc/static_xio.h b/debian/transcode/transcode-1.1.7/libtc/static_xio.h new file mode 100644 index 00000000..878b56a3 --- /dev/null +++ b/debian/transcode/transcode-1.1.7/libtc/static_xio.h @@ -0,0 +1,35 @@ +/* + * static_xio.h - static linkage helper for (lib)xio. + * + * This file is part of transcode, a video stream processing tool. + * transcode is free software, distributable under the terms of the GNU + * General Public License (version 2 or later). See the file COPYING + * for details. + */ + +#ifndef STATIC_XIO_H +#define STATIC_XIO_H + +#include "xio.h" +#include <fcntl.h> +#include <unistd.h> + +void dummy_xio(void); +void dummy_xio(void) +{ + int i; + struct stat tmp; + + i = xio_open("", O_RDONLY); + xio_read(i, NULL, 0); + xio_write(i, NULL, 0); + xio_ftruncate(i, 0); + xio_lseek(i, 0, 0); + xio_fstat(i, &tmp); + xio_lstat("", &tmp); + xio_stat("", &tmp); + xio_rename("", ""); + xio_close(i); +} + +#endif /* STATIC_XIO_H */ |
