OC-Tsuki/ksrc/acl.lua
Jane Roxanne e44d6177a0 kio++
2020-06-02 01:14:26 -05:00

21 lines
312 B
Lua

local acl = {}
do
local acl = struct({
meta = "B",
id = "H"
})
local function acl_readstream(stream)
local a = acl(stream:read(#acl))
local perm = stream:read(a.meta & 0x3f)
local
end
function acl.read(stream, dperm, gid, uid)
end
function _acl:get_effective_perm(id, group, perm)
end
end