From c9eeca63ccc3960c0253368147e95fdd61b04fcd Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 26 May 2024 14:18:17 +0000 Subject: library api's: _lib_ (program driver) namespace overhaul. --- include/tpax/tpax.h | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'include') diff --git a/include/tpax/tpax.h b/include/tpax/tpax.h index 9ea2a94..ef78199 100644 --- a/include/tpax/tpax.h +++ b/include/tpax/tpax.h @@ -135,19 +135,20 @@ struct tpax_unit_ctx { }; /* driver api */ -tpax_api int tpax_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, - const struct tpax_fd_ctx *, - struct tpax_driver_ctx **); +tpax_api int tpax_lib_get_driver_ctx (char ** argv, char ** envp, uint32_t flags, + const struct tpax_fd_ctx *, + struct tpax_driver_ctx **); -tpax_api void tpax_free_driver_ctx (struct tpax_driver_ctx *); +tpax_api void tpax_lib_free_driver_ctx (struct tpax_driver_ctx *); -tpax_api int tpax_get_unit_ctx (const struct tpax_driver_ctx *, int, const char * path, - struct tpax_unit_ctx **); +tpax_api int tpax_lib_get_unit_ctx (const struct tpax_driver_ctx *, int, const char * path, + struct tpax_unit_ctx **); -tpax_api void tpax_free_unit_ctx (struct tpax_unit_ctx *); +tpax_api void tpax_lib_free_unit_ctx (struct tpax_unit_ctx *); -tpax_api int tpax_get_driver_fdctx (const struct tpax_driver_ctx *, struct tpax_fd_ctx *); -tpax_api int tpax_set_driver_fdctx (struct tpax_driver_ctx *, const struct tpax_fd_ctx *); +tpax_api int tpax_lib_get_driver_fdctx (const struct tpax_driver_ctx *, struct tpax_fd_ctx *); + +tpax_api int tpax_lib_set_driver_fdctx (struct tpax_driver_ctx *, const struct tpax_fd_ctx *); /* core api */ tpax_api int tpax_archive_append (const struct tpax_driver_ctx *, const struct tpax_unit_ctx *); -- cgit v1.2.3