File

teal-src/util/net.d.tl @ 12857:cc86d77481fc 0.12

mod_mam,mod_muc_mam: Minimize differences (reorder, copy some comments) Should have no functional difference, but makes it easier keeping mod_mam and mod_muc_mam in sync.
author Kim Alvefur <zash@zash.se>
date Sat, 21 Jan 2023 16:54:43 +0100
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