diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-10-04 08:04:11 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-10-04 08:25:29 +0200 |
| commit | 0ba4b04078b2304c80765ec9f47b0dee5f89590c (patch) | |
| tree | 9f0f437b72eca00b2ae718d2b886fca55b7096a2 /src | |
| parent | 5a5f5721626e371e2a2cc62a926c8714ccbf259f (diff) | |
| download | box64-0ba4b04078b2304c80765ec9f47b0dee5f89590c.tar.gz box64-0ba4b04078b2304c80765ec9f47b0dee5f89590c.zip | |
Added empty wrapped libnsl.so.1
Diffstat (limited to 'src')
| -rwxr-xr-x | src/library_list.h | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/functions_list.txt | 1 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappednsldefs.h | 8 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappednsltypes.h | 17 | ||||
| -rw-r--r-- | src/wrapped/generated/wrappednslundefs.h | 8 | ||||
| -rwxr-xr-x | src/wrapped/wrappednsl.c | 18 | ||||
| -rwxr-xr-x | src/wrapped/wrappednsl_private.h | 132 |
7 files changed, 185 insertions, 0 deletions
diff --git a/src/library_list.h b/src/library_list.h index 72cd16de..bc3d910c 100755 --- a/src/library_list.h +++ b/src/library_list.h @@ -170,6 +170,7 @@ GO("libnspr4.so", nspr4) GO("libplds4.so", plds4) GO("libplc4.so", plc4) GO("libssl3.so", ssl3) +GO("libnsl.so.1", nsl) GO("libselinux.so.1", selinux) GO("libsecret-1.so.0", secret1) diff --git a/src/wrapped/generated/functions_list.txt b/src/wrapped/generated/functions_list.txt index 49755fd6..19168bd1 100644 --- a/src/wrapped/generated/functions_list.txt +++ b/src/wrapped/generated/functions_list.txt @@ -2936,6 +2936,7 @@ wrappedmpg123: - mpg123_replace_reader_handle - mpg123_replace_reader_handle_32 - mpg123_replace_reader_handle_64 +wrappednsl: wrappednspr4: wrappednss3: - vFp: diff --git a/src/wrapped/generated/wrappednsldefs.h b/src/wrapped/generated/wrappednsldefs.h new file mode 100644 index 00000000..b0254339 --- /dev/null +++ b/src/wrapped/generated/wrappednsldefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappednslDEFS_H_ +#define __wrappednslDEFS_H_ + + +#endif // __wrappednslDEFS_H_ diff --git a/src/wrapped/generated/wrappednsltypes.h b/src/wrapped/generated/wrappednsltypes.h new file mode 100644 index 00000000..3a272660 --- /dev/null +++ b/src/wrapped/generated/wrappednsltypes.h @@ -0,0 +1,17 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappednslTYPES_H_ +#define __wrappednslTYPES_H_ + +#ifndef LIBNAME +#error You should only #include this file inside a wrapped*.c file +#endif +#ifndef ADDED_FUNCTIONS +#define ADDED_FUNCTIONS() +#endif + + +#define SUPER() ADDED_FUNCTIONS() + +#endif // __wrappednslTYPES_H_ diff --git a/src/wrapped/generated/wrappednslundefs.h b/src/wrapped/generated/wrappednslundefs.h new file mode 100644 index 00000000..23ae9699 --- /dev/null +++ b/src/wrapped/generated/wrappednslundefs.h @@ -0,0 +1,8 @@ +/******************************************************************* + * File automatically generated by rebuild_wrappers.py (v2.1.0.16) * + *******************************************************************/ +#ifndef __wrappednslUNDEFS_H_ +#define __wrappednslUNDEFS_H_ + + +#endif // __wrappednslUNDEFS_H_ diff --git a/src/wrapped/wrappednsl.c b/src/wrapped/wrappednsl.c new file mode 100755 index 00000000..fd2c2877 --- /dev/null +++ b/src/wrapped/wrappednsl.c @@ -0,0 +1,18 @@ +#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* nslName = "libnsl.so.1"; +#define LIBNAME nsl + +#include "wrappedlib_init.h" + diff --git a/src/wrapped/wrappednsl_private.h b/src/wrapped/wrappednsl_private.h new file mode 100755 index 00000000..f0c538bc --- /dev/null +++ b/src/wrapped/wrappednsl_private.h @@ -0,0 +1,132 @@ +#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) +#error Meh.... +#endif + +//GO(__create_ib_request, +//GO(__do_niscall3, +//GO(__follow_path, +//GO(__free_fdresult, +//GO(nis_add, +//GO(nis_add_entry, +//GO(nis_addmember, +//GO(__nisbind_connect, +//GO(__nisbind_create, +//GO(__nisbind_destroy, +//GO(__nisbind_next, +//GO(nis_checkpoint, +//GO(nis_clone_directory, +//GO(nis_clone_object, +//GO(nis_clone_result, +//GO(nis_creategroup, +//GO(__nis_default_access, +//GO(__nis_default_group, +//GO(__nis_default_owner, +//GO(__nis_default_ttl, +//GO(nis_destroygroup, +//GO(nis_destroy_object, +//GO(nis_dir_cmp, +//GO(nis_domain_of, +//GO(nis_domain_of_r, +//GO(__nis_finddirectory, +//GO(nis_first_entry, +//GO(nis_free_directory, +//GO(nis_freenames, +//GO(nis_free_object, +//GO(nis_free_request, +//GO(nis_freeresult, +//GO(nis_freeservlist, +//GO(nis_freetags, +//GO(nis_getnames, +//GO(nis_getservlist, +//GO(__nis_hash, +//GO(nis_ismember, +//GO(nis_leaf_of, +//GO(nis_leaf_of_r, +//GO(nis_lerror, +//GO(nis_list, +//GO(nis_local_directory, +//GO(nis_local_group, +//GO(nis_local_host, +//GO(nis_local_principal, +//GO(nis_lookup, +//GO(nis_mkdir, +//GO(nis_modify, +//GO(nis_modify_entry, +//GO(nis_name_of, +//GO(nis_name_of_r, +//GO(nis_next_entry, +//GO(nis_perror, +//GO(nis_ping, +//GO(nis_print_directory, +//GO(nis_print_entry, +//GO(nis_print_group, +//GO(nis_print_group_entry, +//GO(nis_print_link, +//GO(nis_print_object, +//GO(nis_print_result, +//GO(nis_print_rights, +//GO(nis_print_table, +//GO(nis_read_obj, +//GO(nis_remove, +//GO(nis_remove_entry, +//GO(nis_removemember, +//GO(nis_rmdir, +//GO(nis_servstate, +//GO(nis_sperrno, +//GO(nis_sperror, +//GO(nis_sperror_r, +//GO(nis_stats, +//GO(nis_verifygroup, +//GO(nis_write_obj, +//GO(_nsl_default_nss, +//GO(__prepare_niscall, +//GO(readColdStartFile, +//GO(writeColdStartFile, +//GO(xdr_cback_data, +//GO(xdr_domainname, +//GO(_xdr_ib_request, +//GO(xdr_keydat, +//GO(xdr_mapname, +//GO(_xdr_nis_result, +//GO(xdr_obj_p, +//GO(xdr_peername, +//GO(xdr_valdat, +//GO(xdr_ypall, +//GO(xdr_ypbind_binding, +//GO(xdr_ypbind_resp, +//GO(xdr_ypbind_resptype, +//GO(xdr_ypbind_setdom, +//GO(xdr_yp_buf, +//GO(xdr_ypdelete_args, +//GO(xdr_ypmaplist, +//GO(xdr_ypmap_parms, +//GO(xdr_yppushresp_xfr, +//GO(xdr_yppush_status, +//GO(xdr_ypreq_key, +//GO(xdr_ypreq_nokey, +//GO(xdr_ypreq_xfr, +//GO(xdr_ypresp_all, +//GO(xdr_ypresp_key_val, +//GO(xdr_ypresp_maplist, +//GO(xdr_ypresp_master, +//GO(xdr_ypresp_order, +//GO(xdr_ypresp_val, +//GO(xdr_ypresp_xfr, +//GO(xdr_ypstat, +//GO(xdr_ypupdate_args, +//GO(xdr_ypxfrstat, +//GO(yp_all, +//GO(yp_bind, +//GO(ypbinderr_string, +//GO(__yp_check, +//GO(yperr_string, +//GO(yp_first, +//GO(yp_get_default_domain, +//GO(yp_maplist, +//GO(yp_master, +//GO(yp_match, +//GO(yp_next, +//GO(yp_order, +//GO(ypprot_err, +//GO(yp_unbind, +//GO(yp_update, \ No newline at end of file |