diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-03-25 14:14:31 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-03-25 14:14:31 +0100 |
| commit | 0b56f5aebd1eb47a09d3fa11b88d407855b7fa3e (patch) | |
| tree | d59d95134186f5a7d6d705b9b9d479fc32810ff6 /src | |
| parent | 178537116b1c36ce08a7123914460c8b2292c2ee (diff) | |
| download | box64-0b56f5aebd1eb47a09d3fa11b88d407855b7fa3e.tar.gz box64-0b56f5aebd1eb47a09d3fa11b88d407855b7fa3e.zip | |
Added wrapped libuuid
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 2 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibuuid.c | 17 | ||||
| -rwxr-xr-x | src/wrapped/wrappedlibuuid_private.h | 21 |
3 files changed, 39 insertions, 1 deletions
diff --git a/src/library_list.h b/src/library_list.h index 0b715adb..906d5a7a 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -80,7 +80,7 @@ GO("libalure.so.1", alure) //GO("libssl.so.1", libssl) //GO("libcrypt.so.1", libcrypt) //GO("libutil.so.1", util) -//GO("libuuid.so.1", libuuid) +GO("libuuid.so.1", libuuid) GO("libresolv.so.2", libresolv) GO("libpulse-simple.so.0", pulsesimple) GO("libpulse.so.0", pulse) diff --git a/src/wrapped/wrappedlibuuid.c b/src/wrapped/wrappedlibuuid.c new file mode 100755 index 00000000..d80c991c --- /dev/null +++ b/src/wrapped/wrappedlibuuid.c @@ -0,0 +1,17 @@ +#include <stdio.h> +#include <stdlib.h> +#include <string.h> +#define _GNU_SOURCE /* See feature_test_macros(7) */ +#include <dlfcn.h> + +#include "wrappedlibs.h" + +#include "wrapper.h" +#include "bridge.h" +#include "librarian/library_private.h" +#include "x64emu.h" + +const char* libuuidName = "libuuid.so.1"; +#define LIBNAME libuuid + +#include "wrappedlib_init.h" diff --git a/src/wrapped/wrappedlibuuid_private.h b/src/wrapped/wrappedlibuuid_private.h new file mode 100755 index 00000000..4402e96c --- /dev/null +++ b/src/wrapped/wrappedlibuuid_private.h @@ -0,0 +1,21 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh... +#endif + +GO(uuid_clear, vFp) +GO(uuid_compare, iFpp) +GO(uuid_copy, vFpp) +GO(uuid_generate, vFp) +GO(uuid__generate_random, vFpp) +GO(uuid_generate_random, vFp) +GO(uuid__generate_time, vFpp) +GO(uuid_generate_time, vFp) +GO(uuid_generate_time_safe, iFp) +GO(uuid_is_null, iFp) +GO(uuid_parse, iFpp) +GO(uuid_time, uFpp) +GO(uuid_type, iFp) +GO(uuid_unparse, vFpp) +GO(uuid_unparse_lower, vFpp) +GO(uuid_unparse_upper, vFpp) +GO(uuid_variant, iFp) |