summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-06-01 10:19:36 +0000
committermidipix <writeonce@midipix.org>2025-06-01 10:19:36 +0000
commitc73e19fc0eb524dd28e2b52d7f52e4ee564ba9c4 (patch)
treee7845b00e87009bd61f1c53e99b1edae6a5f5a98 /include
parent7b3da5c46dc9716f1996dc7d1f3af37018607c8c (diff)
downloadperk-c73e19fc0eb524dd28e2b52d7f52e4ee564ba9c4.tar.bz2
perk-c73e19fc0eb524dd28e2b52d7f52e4ee564ba9c4.tar.xz
driver: added --cmd=ar support, the pe_cmd_ar() stub, and the perk-ar symlink.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 2ed6eed..9075163 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -94,6 +94,7 @@ enum pe_custom_error {
enum pe_cmd {
PERK_CMD_DEFAULT,
PERK_CMD_PERK,
+ PERK_CMD_AR,
PERK_CMD_CAP,
};
@@ -256,6 +257,7 @@ perk_api int pe_lib_set_driver_fdctx (struct pe_driver_ctx *, const s
/* cmd api */
perk_api int pe_cmd_perk (const struct pe_driver_ctx *, const char *);
+perk_api int pe_cmd_ar (const struct pe_driver_ctx *);
/* utility api */
perk_api int pe_main (char **, char **, const struct pe_fd_ctx *);