aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/util/net.d.tl
blob: 3fd6974837ac3070eb681c355a4c9248d8a045ed (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)
	pton : function (string):string
	ntop : function (string):string
end
return lib