summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2025-05-30 09:29:13 +0000
committermidipix <writeonce@midipix.org>2025-05-30 13:43:19 +0000
commit118b747bc6e01eee24f9d205ef7344e497243dd9 (patch)
tree2399295af41b32bd0918272e8b2d12b63f7dee08 /include
parent906422a560cdbf078793143a30274a5faed37d6b (diff)
downloadperk-118b747bc6e01eee24f9d205ef7344e497243dd9.tar.bz2
perk-118b747bc6e01eee24f9d205ef7344e497243dd9.tar.xz
library api: _lib_ (program driver) namespace overhaul.
Diffstat (limited to 'include')
-rw-r--r--include/perk/perk.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/perk/perk.h b/include/perk/perk.h
index 78f1a0f..06c22b1 100644
--- a/include/perk/perk.h
+++ b/include/perk/perk.h
@@ -234,19 +234,20 @@ struct pe_info_string {
};
/* driver api */
-perk_api int pe_get_driver_ctx (char ** argv, char ** envp, uint32_t flags,
+perk_api int pe_lib_get_driver_ctx (char ** argv, char ** envp, uint32_t flags,
const struct pe_fd_ctx *,
struct pe_driver_ctx **);
-perk_api void pe_free_driver_ctx (struct pe_driver_ctx *);
+perk_api void pe_lib_free_driver_ctx (struct pe_driver_ctx *);
-perk_api int pe_get_unit_ctx (const struct pe_driver_ctx *, const char * path,
+perk_api int pe_lib_get_unit_ctx (const struct pe_driver_ctx *, const char * path,
struct pe_unit_ctx **);
-perk_api void pe_free_unit_ctx (struct pe_unit_ctx *);
+perk_api void pe_lib_free_unit_ctx (struct pe_unit_ctx *);
-perk_api int pe_get_driver_fdctx (const struct pe_driver_ctx *, struct pe_fd_ctx *);
-perk_api int pe_set_driver_fdctx (struct pe_driver_ctx *, const struct pe_fd_ctx *);
+perk_api int pe_lib_get_driver_fdctx (const struct pe_driver_ctx *, struct pe_fd_ctx *);
+
+perk_api int pe_lib_set_driver_fdctx (struct pe_driver_ctx *, const struct pe_fd_ctx *);
/* cmd api */
perk_api int pe_cmd_perk (const struct pe_driver_ctx *, const char *);