summaryrefslogtreecommitdiffhomepage
path: root/src/internal/slibtool_symlink_impl.h
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-04-08 12:53:52 -0400
committermidipix <writeonce@midipix.org>2016-04-08 12:53:52 -0400
commit6529aa199a616eaeb8f32841d29ec5afd7dcc4f4 (patch)
treecc962f2dbe65030454928522d42872003a268c5c /src/internal/slibtool_symlink_impl.h
parent82142f33ca3209442426e56da24d9722adf4c8bb (diff)
downloadslibtool-6529aa199a616eaeb8f32841d29ec5afd7dcc4f4.tar.bz2
slibtool-6529aa199a616eaeb8f32841d29ec5afd7dcc4f4.tar.xz
internal: slbt_create_symlink(): initial implementation and integration.
Diffstat (limited to 'src/internal/slibtool_symlink_impl.h')
-rw-r--r--src/internal/slibtool_symlink_impl.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/internal/slibtool_symlink_impl.h b/src/internal/slibtool_symlink_impl.h
new file mode 100644
index 0000000..5ca65d5
--- /dev/null
+++ b/src/internal/slibtool_symlink_impl.h
@@ -0,0 +1,15 @@
+/*******************************************************************/
+/* slibtool: a skinny libtool implementation, written in C */
+/* Copyright (C) 2016 Z. Gilboa */
+/* Released under the Standard MIT License; see COPYING.SLIBTOOL. */
+/*******************************************************************/
+
+#include <stdbool.h>
+#include <slibtool/slibtool.h>
+
+int slbt_create_symlink(
+ const struct slbt_driver_ctx * dctx,
+ struct slbt_exec_ctx * ectx,
+ const char * target,
+ char * lnkname,
+ bool flawrapper);