From b1be90f4870a6ee3b8807b15b3e8bfe9c5573bbc Mon Sep 17 00:00:00 2001 From: midipix Date: Sun, 25 Feb 2024 04:14:36 +0000 Subject: driver: added slbt_lib_get_txtfile_ctx(): plain line vector from a text file. --- src/internal/slibtool_driver_impl.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/internal') 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 *); -- cgit v1.2.3