summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@suse.com>2011-12-22 15:42:56 +0200
committerTor Lillqvist <tlillqvist@suse.com>2011-12-22 15:45:34 +0200
commite685a684eb91c56004ba9168c5a5e990cd2f587f (patch)
tree9f5c5e67b81f07dd41229e2d0be53c7507ef70af /solenv
parent6aac868d65c72d40b702435b0b5a570d73a4d430 (diff)
Initial untested implementation of dirent style functions for the .apk
Diffstat (limited to 'solenv')
-rw-r--r--solenv/inc/unxandr/lo-bootstrap.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/solenv/inc/unxandr/lo-bootstrap.h b/solenv/inc/unxandr/lo-bootstrap.h
index 258d9d28850c..71a8d13a6e10 100644
--- a/solenv/inc/unxandr/lo-bootstrap.h
+++ b/solenv/inc/unxandr/lo-bootstrap.h
@@ -31,11 +31,14 @@
#include <jni.h>
#include <dlfcn.h>
+#include <dirent.h>
#ifdef __cplusplus
extern "C" {
#endif
+typedef struct lo_apk_dir lo_apk_dir;
+
char **lo_dlneeds(const char *library);
void *lo_dlopen(const char *library);
@@ -49,6 +52,12 @@ int lo_dladdr(void *addr,
void *lo_apkentry(const char *filename,
size_t *size);
+lo_apk_dir *lo_apk_opendir(const char *dirname);
+
+struct dirent *lo_apk_readdir(lo_apk_dir *dirp);
+
+int lo_apk_closedir(lo_apk_dir *dirp);
+
int lo_dlcall_argc_argv(void *function,
int argc,
const char **argv);