aboutsummaryrefslogtreecommitdiffstats
path: root/c_hardflip.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_hardflip.go')
-rw-r--r--c_hardflip.go13
1 files changed, 11 insertions, 2 deletions
diff --git a/c_hardflip.go b/c_hardflip.go
index b0dcfeb..e58809a 100644
--- a/c_hardflip.go
+++ b/c_hardflip.go
@@ -65,8 +65,17 @@ func main() {
// HardUI{},
HardOpts{true, true},
data_dir,
- }
+ }
- fmt.Println(data)
+ dir := data.ldirs.head
+ for dir != nil {
+ fmt.Println(dir)
+ host := dir.lhost.head
+ for host != nil {
+ fmt.Println(" ", host.ID, host.Filename)
+ host = host.next
+ }
+ dir = dir.next
+ }
// i_ui(&data)
}