From 6ac96734fe74dd8b64535a10780e052dc9f77ce7 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 15 Oct 2007 13:46:33 +0000 Subject: Adding glue for Lua. --- lib/tasklib.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lib/tasklib.lua b/lib/tasklib.lua index 764750b..fda990c 100644 --- a/lib/tasklib.lua +++ b/lib/tasklib.lua @@ -19,7 +19,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: tasklib.lua,v 1.4 2007-06-17 15:24:44 pixel Exp $ */ +/* $Id: tasklib.lua,v 1.5 2007-10-15 13:46:33 pixel Exp $ */ ]]-- @@ -38,6 +38,10 @@ function HttpClient(url, headers, vars) return coroutine.yield("HttpClient", url, headers, vars) end +function MailClient(smtp, subject, from, headers, tos, ccs, bccs, fakes, body) + return coroutine.yield("MailClient", smtp, subject, from, headers, tos, ccs, bccs, fakes, body) +end + function Command(command, ...) return coroutine.yield("Command", command, unpack(arg)) end -- cgit v1.2.3