summaryrefslogtreecommitdiffhomepage
path: root/src/internal/perk_ar_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-03 10:11:24 +0000
committermidipix <writeonce@midipix.org>2025-06-03 15:16:50 +0000
commit663098e8be251c89181cc56503d7fb7ab2e8c1c5 (patch)
treec167f020c69ed1210829b9002d60195c566e6065 /src/internal/perk_ar_impl.h
parentc5c7073a522fc96ec5c0270de6d5e48154d5cd62 (diff)
downloadperk-663098e8be251c89181cc56503d7fb7ab2e8c1c5.tar.bz2
perk-663098e8be251c89181cc56503d7fb7ab2e8c1c5.tar.xz
pe_cmd_ar(): added command-line semantic verification.
Diffstat (limited to 'src/internal/perk_ar_impl.h')
-rw-r--r--src/internal/perk_ar_impl.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/internal/perk_ar_impl.h b/src/internal/perk_ar_impl.h
index aa44396..b7c2fbc 100644
--- a/src/internal/perk_ar_impl.h
+++ b/src/internal/perk_ar_impl.h
@@ -24,6 +24,18 @@
#define AR_POSNAME_MASK (PERK_DRIVER_AR_POSITION_AFTER \
|PERK_DRIVER_AR_POSITION_BEFORE)
+#define AR_UPDATE_MASK (PERK_DRIVER_AR_UPDATE_MEMBERS \
+ |PERK_DRIVER_AR_REPLACE_MEMBERS)
+
+#define AR_ACTION_MASK (PERK_DRIVER_AR_LIST_MEMBERS \
+ |PERK_DRIVER_AR_MOVE_MEMBERS \
+ |PERK_DRIVER_AR_UPDATE_MEMBERS \
+ |PERK_DRIVER_AR_DELETE_MEMBERS \
+ |PERK_DRIVER_AR_APPEND_MEMBERS \
+ |PERK_DRIVER_AR_REPLACE_MEMBERS \
+ |PERK_DRIVER_AR_EXTRACT_MEMBERS \
+ |PERK_DRIVER_AR_PRINT_ARCHIVE)
+
extern const struct argv_option pe_ar_options[];
struct ar_armaps_impl {