summaryrefslogtreecommitdiff
path: root/src/apk_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/apk_context.h')
-rw-r--r--src/apk_context.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/apk_context.h b/src/apk_context.h
index 41cc361..8f7ca5e 100644
--- a/src/apk_context.h
+++ b/src/apk_context.h
@@ -10,6 +10,7 @@
#define APK_CONTEXT_H
#include "apk_print.h"
+#include "apk_trust.h"
#include "apk_io.h"
#include "adb.h"
@@ -65,18 +66,17 @@ struct apk_ctx {
struct apk_string_array *repository_list;
struct apk_string_array *private_keys;
- struct adb_trust trust;
+ struct apk_trust trust;
struct apk_id_cache id_cache;
struct apk_database *db;
- int root_fd, keys_fd;
+ int root_fd;
};
void apk_ctx_init(struct apk_ctx *ac);
void apk_ctx_free(struct apk_ctx *ac);
int apk_ctx_prepare(struct apk_ctx *ac);
-int apk_ctx_fd_keys(struct apk_ctx *ac);
-struct adb_trust *apk_ctx_get_trust(struct apk_ctx *ac);
+struct apk_trust *apk_ctx_get_trust(struct apk_ctx *ac);
struct apk_id_cache *apk_ctx_get_id_cache(struct apk_ctx *ac);
static inline int apk_ctx_fd_root(struct apk_ctx *ac) { return ac->root_fd; }