From 08430a42aa1cf9eff49b8015329ef8a112a5d0e5 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 21 Dec 2023 20:20:20 +0100 Subject: tmp --- c_init.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'c_init.go') diff --git a/c_init.go b/c_init.go index 51ce67a..ca26683 100644 --- a/c_init.go +++ b/c_init.go @@ -79,8 +79,9 @@ func c_recurse_data_dir(dir string, root string, lhost *HostList) { } } -func c_load_data_dir(dir string) *HostList { +func c_load_data_dir(dir string) (*HostList, *DirsList) { lhost := HostList{} + ldirs := DirsList{} c_recurse_data_dir("", dir + "/", &lhost) - return &lhost + return &lhost, &ldirs } -- cgit v1.2.3