summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-06-25 12:33:13 -0400
committermidipix <writeonce@midipix.org>2016-06-25 12:33:13 -0400
commitfffc91a9f62e6b3fa791a988f18958c3a159be18 (patch)
tree18f798fb32b4684161828c8fdc5e2a81be383e82 /include
parent9355e9ac6c35be29a7bdc591d484dfd091fb3440 (diff)
downloadslibtool-fffc91a9f62e6b3fa791a988f18958c3a159be18.tar.bz2
slibtool-fffc91a9f62e6b3fa791a988f18958c3a159be18.tar.xz
utility: added slbt_main() as a public interface, refactored accordingly.
Diffstat (limited to 'include')
-rw-r--r--include/slibtool/slibtool.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/slibtool/slibtool.h b/include/slibtool/slibtool.h
index e4b21c0..d69b1c6 100644
--- a/include/slibtool/slibtool.h
+++ b/include/slibtool/slibtool.h
@@ -259,6 +259,7 @@ slbt_api int slbt_copy_file (const struct slbt_driver_ctx *, struct slbt_exec_
slbt_api int slbt_dump_machine (const char * compiler, char * machine, size_t bufsize);
/* utility api */
+slbt_api int slbt_main (int, char **, char **);
slbt_api int slbt_output_config (const struct slbt_driver_ctx *);
slbt_api int slbt_output_exec (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *, const char *);
slbt_api int slbt_output_compile (const struct slbt_driver_ctx *, const struct slbt_exec_ctx *);