summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-19 04:16:23 +0000
committermidipix <writeonce@midipix.org>2024-02-19 04:16:23 +0000
commita01f33e9cb9a2a2333f2a43bc3bba74a41a6c2e6 (patch)
tree52760f11009ca87c5dbb01a688830932d9ddef63
parent7004afd2da62964c3b013a839cf6631f98c46630 (diff)
downloadslibtool-a01f33e9cb9a2a2333f2a43bc3bba74a41a6c2e6.tar.bz2
slibtool-a01f33e9cb9a2a2333f2a43bc3bba74a41a6c2e6.tar.xz
<slibtool/slibtool.h>: added missing comment, whitespace meditation.
-rw-r--r--include/slibtool/slibtool.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index 89cbe8b..c1e96c2 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -353,6 +353,7 @@ slbt_api int slbt_lib_get_driver_ctx (char ** argv, char ** envp, uint64_t fl
slbt_api void slbt_lib_free_driver_ctx (struct slbt_driver_ctx *);
slbt_api int slbt_lib_get_driver_fdctx (const struct slbt_driver_ctx *, struct slbt_fd_ctx *);
+
slbt_api int slbt_lib_set_driver_fdctx (struct slbt_driver_ctx *, const struct slbt_fd_ctx *);
/* command execution context api */
@@ -369,7 +370,9 @@ slbt_api int slbt_exec_link (const struct slbt_driver_ctx *, struct
slbt_api int slbt_exec_uninstall (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
slbt_api int slbt_exec_ar (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
+/* host and flavor interfaces */
slbt_api int slbt_host_set_althost (const struct slbt_driver_ctx *, const char * host, const char * flavor);
+
slbt_api void slbt_host_reset_althost (const struct slbt_driver_ctx *);
slbt_api int slbt_host_flavor_settings (const char *, const struct slbt_flavor_settings **);
@@ -377,9 +380,12 @@ slbt_api int slbt_host_flavor_settings (const char *, const struct slbt_flavor_
/* utility helper interfaces */
slbt_api int slbt_util_import_archive (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,
char * dstarchive, char * srcarchive);
+
slbt_api int slbt_util_copy_file (const struct slbt_driver_ctx *, struct slbt_exec_ctx *,
char * src, char * dst);
+
slbt_api int slbt_util_dump_machine (const char * compiler, char * machine, size_t bufsize);
+
slbt_api int slbt_util_real_path (int, const char *, int, char *, size_t);
/* archiver api */