about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-09 18:19:42 +0200
committerGitHub <noreply@github.com>2021-04-09 18:19:42 +0200
commit0a37f1cc30f9d31b1cc4b3cae353d134a66a1ffc (patch)
treeacea39fed7c69642c71a6ba0db7928d4c31044f5 /src/include/box64context.h
parent0e0f1e203747a3b7a625d1d57d47036c796bc7f7 (diff)
parent70018a774bf7411ef7550aa4fb3eb153d17dcfd6 (diff)
downloadbox64-0a37f1cc30f9d31b1cc4b3cae353d134a66a1ffc.tar.gz
box64-0a37f1cc30f9d31b1cc4b3cae353d134a66a1ffc.zip
Merge pull request #3 from rajdakin/exitFix
box64 exit fix
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index c52ac53b..ffcacc36 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -50,6 +50,8 @@ typedef struct needed_libs_s {
 
 void add_neededlib(needed_libs_t* needed, library_t* lib);
 void free_neededlib(needed_libs_t* needed);
+void add_dependedlib(needed_libs_t* depended, library_t* lib);
+void free_dependedlib(needed_libs_t* depended);
 
 typedef struct base_segment_s {
     uintptr_t       base;
@@ -70,7 +72,7 @@ typedef struct box64context_s {
     uint32_t            sel_serial;     // will be increment each time selectors changes
 
     zydis_t             *zydis;         // dlopen the zydis dissasembler
-    void*               box64lib;       // dlopen on box86 itself
+    void*               box64lib;       // dlopen on box64 itself
 
     int                 argc;
     char**              argv;
@@ -79,7 +81,7 @@ typedef struct box64context_s {
     char**              envv;
 
     char*               fullpath;
-    char*               box64path;      // path of current box86 executable
+    char*               box64path;      // path of current box64 executable
 
     uint32_t            stacksz;
     int                 stackalign;
@@ -198,4 +200,4 @@ int AddTLSPartition(box64context_t* context, int tlssize);
 void thread_set_emu(x64emu_t* emu);
 x64emu_t* thread_get_emu();
 
-#endif //__BOX64CONTEXT_H_
\ No newline at end of file
+#endif //__BOX64CONTEXT_H_