aboutsummaryrefslogtreecommitdiffstats
path: root/c_lhosts.go
diff options
context:
space:
mode:
Diffstat (limited to 'c_lhosts.go')
-rw-r--r--c_lhosts.go12
1 files changed, 12 insertions, 0 deletions
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
+}