aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/net.d.tl
blob: 1040fcef34c78d303ea6c163bc102c2b07475de3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

local enum type_strings
	"both"
	"ipv4"
	"ipv6"
end

local record lib
	local_addresses : function (type_strings, boolean) : { string }
	pton : function (string):string
	ntop : function (string):string
end
return lib