summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-19 12:08:51 -0400
committermidipix <writeonce@midipix.org>2016-04-19 14:17:33 -0400
commita313a4648ed153a53296f1e6b1bcda83b3c9f4da (patch)
tree642137a74515834005efec4095f634ce650cba05 /include
parent52556c7d6514382cf92faec5ac33e08c781113fa (diff)
downloadslibtool-a313a4648ed153a53296f1e6b1bcda83b3c9f4da.tar.bz2
slibtool-a313a4648ed153a53296f1e6b1bcda83b3c9f4da.tar.xz
driver: added slbt_set_alternate_host(), slbt_reset_alternate_host().
Diffstat (limited to 'include')
-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 533be58..7cc387d 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -160,6 +160,9 @@ struct slbt_common_ctx {
struct slbt_host_params host;
struct slbt_host_params cfgmeta;
struct slbt_flavor_settings settings;
+ struct slbt_host_params ahost;
+ struct slbt_host_params acfgmeta;
+ struct slbt_flavor_settings asettings;
struct slbt_version_info verinfo;
enum slbt_mode mode;
enum slbt_tag tag;
@@ -212,6 +215,9 @@ slbt_api int slbt_exec_compile (const struct slbt_driver_ctx *, struct slbt_ex
slbt_api int slbt_exec_install (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
slbt_api int slbt_exec_link (const struct slbt_driver_ctx *, struct slbt_exec_ctx *);
+slbt_api int slbt_set_alternate_host (const struct slbt_driver_ctx *, const char * host, const char * flavor);
+slbt_api void slbt_reset_alternate_host (const struct slbt_driver_ctx *);
+
/* helper api */
slbt_api int slbt_map_input (int fd, const char * path, int prot, struct slbt_input *);
slbt_api int slbt_unmap_input (struct slbt_input *);