diff options
author | midipix <writeonce@midipix.org> | 2025-06-02 20:50:53 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2025-06-02 20:50:53 +0000 |
commit | c5c7073a522fc96ec5c0270de6d5e48154d5cd62 (patch) | |
tree | 4b962baea52ed9bcf57a090f43c44a139043ae8e /src/internal/perk_ar_impl.h | |
parent | 6fef9e880f2475628ccb74e2bd0a2b8fdc347361 (diff) | |
download | perk-c5c7073a522fc96ec5c0270de6d5e48154d5cd62.tar.bz2 perk-c5c7073a522fc96ec5c0270de6d5e48154d5cd62.tar.xz |
driver: utility: invoke pe_cmd_ar() with appropriate <posname> & <arname> args.
Diffstat (limited to 'src/internal/perk_ar_impl.h')
-rw-r--r-- | src/internal/perk_ar_impl.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/internal/perk_ar_impl.h b/src/internal/perk_ar_impl.h index 543526d..aa44396 100644 --- a/src/internal/perk_ar_impl.h +++ b/src/internal/perk_ar_impl.h @@ -20,6 +20,10 @@ /* initial number of elements in the transient, on-stack vector */ # define AR_STACK_VECTOR_ELEMENTS (0x200) +/* bit mask to indicate that the first non-option argument is <posname> */ +#define AR_POSNAME_MASK (PERK_DRIVER_AR_POSITION_AFTER \ + |PERK_DRIVER_AR_POSITION_BEFORE) + extern const struct argv_option pe_ar_options[]; struct ar_armaps_impl { |