squishy

Sat, 10 Apr 2021 00:28:56 +0200

author
Kim Alvefur <zash@zash.se>
date
Sat, 10 Apr 2021 00:28:56 +0200
changeset 154
e7f579d82b76
parent 139
6909e479c56b
child 157
aa0f11fb166c
permissions
-rw-r--r--

clix.raw: Expose the connection to unsandboxed manipulation

Lets you eg hook events with custom code or whatever.

local commands = {
	"send";
	"sendfilecontent";
	"receive";
	"version";
	"ping";
	"bounce";
	"mirror";
	"raw";
	"roster";
	"export";
	"vcard";
	"publish_atom";
	"sendfile";
	"archive";
	"presence";
	"watch_pep";
}

for _, cmd in ipairs(commands) do
	Module("clix."..cmd)("clix/"..cmd..".lua")
end

if GetOption "with-verse" then
	Module("verse")(GetOption "with-verse");
end

Main "clix.lua"

Option "executable"
Output "clix.bin"

mercurial