summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-05-26 14:18:17 +0000
committermidipix <writeonce@midipix.org>2024-05-26 14:18:17 +0000
commitc9eeca63ccc3960c0253368147e95fdd61b04fcd (patch)
tree566072febd91a8eed889e6da1314866c372e46d4 /include
parent99ab678ae0659e60290154dabe987e6fb0029d3e (diff)
downloadtpax-c9eeca63ccc3960c0253368147e95fdd61b04fcd.tar.bz2
tpax-c9eeca63ccc3960c0253368147e95fdd61b04fcd.tar.xz
library api's: _lib_ (program driver) namespace overhaul.
Diffstat (limited to 'include')
-rw-r--r--include/tpax/tpax.h19
1 files changed, 10 insertions, 9 deletions
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 *);