summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-02-25 04:14:36 +0000
committermidipix <writeonce@midipix.org>2024-02-25 04:52:57 +0000
commitb1be90f4870a6ee3b8807b15b3e8bfe9c5573bbc (patch)
treeaffc8de82c53f489aee266e0aa5bbb54c8822263 /src/internal
parentdb13969653bb99be7e5ce02c013079fe6e7ed0da (diff)
downloadslibtool-b1be90f4870a6ee3b8807b15b3e8bfe9c5573bbc.tar.bz2
slibtool-b1be90f4870a6ee3b8807b15b3e8bfe9c5573bbc.tar.xz
driver: added slbt_lib_get_txtfile_ctx(): plain line vector from a text file.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_driver_impl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 5a00a3c..fcb8324 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -198,6 +198,16 @@ struct slbt_symlist_ctx_impl {
};
+struct slbt_txtfile_ctx_impl {
+ const struct slbt_driver_ctx * dctx;
+ const char * path;
+ char * pathbuf;
+ char * txtlines;
+ const char ** txtlinev;
+ struct slbt_txtfile_ctx tctx;
+};
+
+
const char * slbt_program_name(const char *);