about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 680b2d5e..0697e16a 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -4,6 +4,8 @@
 #include <pthread.h>
 #include "pathcoll.h"
 
+typedef struct elfheader_s elfheader_t;
+
 typedef void* (*procaddess_t)(const char* name);
 typedef void* (*vkprocaddess_t)(void* instance, const char* name);
 
@@ -43,6 +45,10 @@ typedef struct box64context_s {
     int                 stackalign;
     void*               stack;          // alocated stack
 
+    elfheader_t         **elfs;         // elf headers and memory
+    int                 elfcap;
+    int                 elfsize;        // number of elf loaded
+
     int                 deferedInit;
 
     pthread_key_t       tlskey;     // then tls key to have actual tlsdata