about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/library_list.h2
-rwxr-xr-xsrc/wrapped/wrappedlibuuid.c17
-rwxr-xr-xsrc/wrapped/wrappedlibuuid_private.h21
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)