+// Copyright 2010-2026 nanzoom.com. All Rights Reserved.
+
+package uzsdk
+
+// OS store profiles reading from OS.
+type OS struct {
+ Protocols []Protocol // profile: /etc/protocols.
+ Services []Service // profile: /etc/services.
+ Jaillist []string // profile: fail2ban jail list.
+ Loginlist []string // profile: fail2ban onlogin list.
+}
+
+type Protocol struct {
+ Name string
+ Id string
+ Keyword string
+ Description string
+}
+
+type Service struct {
+ Name string
+ Port string
+ Protocol string
+}
+
+func NewOS() *OS {
+ var profile OS
+
+ profile.Protocols = make([]Protocol, 0)
+ profile.Services = make([]Service, 0)
+ profile.Jaillist = make([]string, 0)
+ profile.Loginlist = make([]string, 0)
+
+ return &profile
+}