From 6149c669d1f8da881a58879bc54220be6d25e555 Mon Sep 17 00:00:00 2001 From: Joe Date: Thu, 4 Jan 2024 20:20:20 +0100 Subject: ok this is great --- c_lhosts.go | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'c_lhosts.go') diff --git a/c_lhosts.go b/c_lhosts.go index 6e7ea77..0b7f702 100644 --- a/c_lhosts.go +++ b/c_lhosts.go @@ -152,3 +152,15 @@ func (lhost *HostList) count() uint64 { } return count } + +func (host *HostNode) is_dir() bool { + return false +} + +func (host *HostNode) get_id() uint64 { + return host.ID +} + +func (host *HostNode) get_next() *HostNode { + return host.next +} -- cgit v1.2.3