about summary refs log tree commit diff stats
path: root/src/wrapped/wrappedlibssh2.c
diff options
context:
space:
mode:
authorLiZhuoheng <114734429+zohanzephyr@users.noreply.github.com>2024-05-30 20:34:08 +0800
committerGitHub <noreply@github.com>2024-05-30 14:34:08 +0200
commit19ca78769f4730f751d2baca34cc4358ef68553b (patch)
treeb288b546a0fefba8f55373044ea6302605326bd6 /src/wrapped/wrappedlibssh2.c
parent3e5784cbc560d21539b1ad1b157206102f25b25c (diff)
downloadbox64-19ca78769f4730f751d2baca34cc4358ef68553b.tar.gz
box64-19ca78769f4730f751d2baca34cc4358ef68553b.zip
Wrapped libssh2 (#1538)
* Wrapped libssh2

* Add more libssh2 wrapped functions
Diffstat (limited to 'src/wrapped/wrappedlibssh2.c')
-rw-r--r--src/wrapped/wrappedlibssh2.c19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/wrapped/wrappedlibssh2.c b/src/wrapped/wrappedlibssh2.c
new file mode 100644
index 00000000..3dd0158e
--- /dev/null
+++ b/src/wrapped/wrappedlibssh2.c
@@ -0,0 +1,19 @@
+#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* libssh2Name = "libssh2.so.1";
+#define LIBNAME libssh2
+
+#define NEEDED_LIBS "libgcrypt.so.20"
+
+#include "wrappedlib_init.h"