File

teal-src/util/net.d.tl @ 12276:7c5e6ad3d778

prosody.cfg.lua.dist: Warn about adding settings at the end of the file It is very often a confusing mistake that leads to support questions
author Kim Alvefur <zash@zash.se>
date Sat, 17 Jul 2021 19:40:43 +0200
parent 11577:60bee6822d79
line wrap: on
line source


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