summaryrefslogtreecommitdiff
path: root/src/apk_adb.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2021-06-07 19:49:15 +0300
committerTimo Teräs <timo.teras@iki.fi>2021-06-11 13:35:32 +0300
commit7c9f001cda932c74164e8aaa6740dcb6d24aa62f (patch)
tree7f30f0cbfc1d9e6f43f9aff3807f83ab53240ead /src/apk_adb.h
parentcd9aef8f7cabdb09a7b6e6c4884b8e3db41b0962 (diff)
downloadapk-tools-7c9f001cda932c74164e8aaa6740dcb6d24aa62f.tar.gz
apk-tools-7c9f001cda932c74164e8aaa6740dcb6d24aa62f.tar.bz2
apk-tools-7c9f001cda932c74164e8aaa6740dcb6d24aa62f.tar.xz
apk-tools-7c9f001cda932c74164e8aaa6740dcb6d24aa62f.zip
mkpkg: new applet to create v2 packages with basic functionality
Diffstat (limited to 'src/apk_adb.h')
-rw-r--r--src/apk_adb.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/apk_adb.h b/src/apk_adb.h
index 557bc6e..1908cba 100644
--- a/src/apk_adb.h
+++ b/src/apk_adb.h
@@ -33,16 +33,28 @@
#define ADBI_PI_RECOMMENDS 0x13
#define ADBI_PI_MAX 0x14
+/* ACL entries */
+#define ADBI_ACL_MODE 0x01
+#define ADBI_ACL_USER 0x02
+#define ADBI_ACL_GROUP 0x03
+#define ADBI_ACL_XATTRS 0x04
+#define ADBI_ACL_MAX 0x05
+
/* File Info */
#define ADBI_FI_NAME 0x01
-#define ADBI_FI_HASHES 0x02
-#define ADBI_FI_FILES 0x02
-#define ADBI_FI_MODE 0x03
-#define ADBI_FI_UID 0x04
-#define ADBI_FI_GID 0x05
-#define ADBI_FI_XATTRS 0x06
+#define ADBI_FI_ACL 0x02
+#define ADBI_FI_SIZE 0x03
+#define ADBI_FI_MTIME 0x04
+#define ADBI_FI_HASHES 0x05
+#define ADBI_FI_TARGET 0x06
#define ADBI_FI_MAX 0x07
+/* Directory Info */
+#define ADBI_DI_NAME 0x01
+#define ADBI_DI_ACL 0x02
+#define ADBI_DI_FILES 0x03
+#define ADBI_DI_MAX 0x04
+
/* Scripts */
#define ADBI_SCRPT_TRIGGER 0x01
#define ADBI_SCRPT_PREINST 0x02
@@ -81,7 +93,7 @@
extern const struct adb_object_schema
schema_dependency, schema_dependency_array,
schema_pkginfo, schema_pkginfo_array,
- schema_file, schema_file_array, schema_path, schema_path_array,
+ schema_acl, schema_file, schema_file_array, schema_dir, schema_dir_array,
schema_string_array, schema_scripts, schema_package, schema_package_adb_array,
schema_index, schema_idb;